home *** CD-ROM | disk | FTP | other *** search
/ Openstep 4.2 (Developer) / Openstep Developer 4.2.iso / NextDeveloper / Source / GNU / uucp / Uucp.framework / contrib / uupoll.shar < prev    next >
SHell self-extracting ARchive  |  1994-04-17  |  94.9 KB

open in: MacOS 8.1     |     Win98     |     DOS

view JSON data     |     view as text

This file was processed as: SHell self-extracting ARchive (archive/shar).

You can browse this item here: uupoll.shar

ConfidenceProgramDetectionMatch TypeSupport
100% dexvert SHell self-extracting ARchive (archive/shar) magic Supported
1% dexvert Text File (text/txt) fallback Supported
100% file shell archive text default
99% file POSIX shell script text executable default
98% file makefile script text default
97% file a /bin/sh script, ASCII text executable default (weak)
75% TrID shar SHell self-extracting aRchive default
15% TrID Linux/UNIX shell script default
9% TrID Perl script default
100% checkBytes Printable ASCII default
100% perlTextCheck Likely Text (Perl) default
100% gt2 Shell Skript: '/bin/sh' default (weak)
100% detectItEasy Format: plain text[LF] default (weak)
100% binwalkID Executable script, shebang: "/bin/sh" default (weak)
100% xdgMime application/x-shellscript default (weak)



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 23 21 2f 62 69 6e 2f 73 | 68 0a 23 20 54 68 69 73 |#!/bin/s|h.# This|
|00000010| 20 69 73 20 61 20 73 68 | 65 6c 6c 20 61 72 63 68 | is a sh|ell arch|
|00000020| 69 76 65 20 28 70 72 6f | 64 75 63 65 64 20 62 79 |ive (pro|duced by|
|00000030| 20 73 68 61 72 20 33 2e | 34 39 29 0a 23 20 54 6f | shar 3.|49).# To|
|00000040| 20 65 78 74 72 61 63 74 | 20 74 68 65 20 66 69 6c | extract| the fil|
|00000050| 65 73 20 66 72 6f 6d 20 | 74 68 69 73 20 61 72 63 |es from |this arc|
|00000060| 68 69 76 65 2c 20 73 61 | 76 65 20 69 74 20 74 6f |hive, sa|ve it to|
|00000070| 20 61 20 66 69 6c 65 2c | 20 72 65 6d 6f 76 65 0a | a file,| remove.|
|00000080| 23 20 65 76 65 72 79 74 | 68 69 6e 67 20 61 62 6f |# everyt|hing abo|
|00000090| 76 65 20 74 68 65 20 22 | 21 2f 62 69 6e 2f 73 68 |ve the "|!/bin/sh|
|000000a0| 22 20 6c 69 6e 65 20 61 | 62 6f 76 65 2c 20 61 6e |" line a|bove, an|
|000000b0| 64 20 74 79 70 65 20 22 | 73 68 20 66 69 6c 65 5f |d type "|sh file_|
|000000c0| 6e 61 6d 65 22 2e 0a 23 | 0a 23 20 6d 61 64 65 20 |name"..#|.# made |
|000000d0| 30 34 2f 31 37 2f 31 39 | 39 34 20 30 32 3a 32 31 |04/17/19|94 02:21|
|000000e0| 20 55 54 43 20 62 79 20 | 69 61 6e 40 63 6f 6d 74 | UTC by |ian@comt|
|000000f0| 6f 6e 2e 61 69 72 73 2e | 63 6f 6d 0a 23 20 53 6f |on.airs.|com.# So|
|00000100| 75 72 63 65 20 64 69 72 | 65 63 74 6f 72 79 20 2f |urce dir|ectory /|
|00000110| 64 69 73 6b 34 2f 69 61 | 6e 0a 23 0a 23 20 65 78 |disk4/ia|n.#.# ex|
|00000120| 69 73 74 69 6e 67 20 66 | 69 6c 65 73 20 77 69 6c |isting f|iles wil|
|00000130| 6c 20 4e 4f 54 20 62 65 | 20 6f 76 65 72 77 72 69 |l NOT be| overwri|
|00000140| 74 74 65 6e 20 75 6e 6c | 65 73 73 20 2d 63 20 69 |tten unl|ess -c i|
|00000150| 73 20 73 70 65 63 69 66 | 69 65 64 0a 23 0a 23 20 |s specif|ied.#.# |
|00000160| 54 68 69 73 20 73 68 61 | 72 20 63 6f 6e 74 61 69 |This sha|r contai|
|00000170| 6e 73 3a 0a 23 20 6c 65 | 6e 67 74 68 20 20 6d 6f |ns:.# le|ngth mo|
|00000180| 64 65 20 20 20 20 20 20 | 20 6e 61 6d 65 0a 23 20 |de | name.# |
|00000190| 2d 2d 2d 2d 2d 2d 20 2d | 2d 2d 2d 2d 2d 2d 2d 2d |------ -|--------|
|000001a0| 2d 20 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |- ------|--------|
|000001b0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000001c0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 0a 23 20 20 |--------|----.# |
|000001d0| 20 32 36 30 32 20 2d 72 | 2d 2d 72 2d 2d 72 2d 2d | 2602 -r|--r--r--|
|000001e0| 20 75 75 70 6f 6c 6c 2f | 4d 61 6b 65 66 69 6c 65 | uupoll/|Makefile|
|000001f0| 0a 23 20 20 20 33 36 33 | 36 20 2d 72 2d 2d 72 2d |.# 363|6 -r--r-|
|00000200| 2d 72 2d 2d 20 75 75 70 | 6f 6c 6c 2f 52 45 41 44 |-r-- uup|oll/READ|
|00000210| 4d 45 0a 23 20 20 20 34 | 37 31 38 20 2d 72 2d 2d |ME.# 4|718 -r--|
|00000220| 72 2d 2d 72 2d 2d 20 75 | 75 70 6f 6c 6c 2f 61 75 |r--r-- u|upoll/au|
|00000230| 74 6f 70 6f 6c 6c 2e 38 | 63 0a 23 20 20 34 34 30 |topoll.8|c.# 440|
|00000240| 33 31 20 2d 72 2d 2d 72 | 2d 2d 72 2d 2d 20 75 75 |31 -r--r|--r-- uu|
|00000250| 70 6f 6c 6c 2f 61 75 74 | 6f 70 6f 6c 6c 2e 63 0a |poll/aut|opoll.c.|
|00000260| 23 20 20 20 33 38 38 34 | 20 2d 72 2d 2d 72 2d 2d |# 3884| -r--r--|
|00000270| 72 2d 2d 20 75 75 70 6f | 6c 6c 2f 63 6f 6e 66 2e |r-- uupo|ll/conf.|
|00000280| 68 0a 23 20 20 20 34 37 | 38 37 20 2d 72 2d 2d 72 |h.# 47|87 -r--r|
|00000290| 2d 2d 72 2d 2d 20 75 75 | 70 6f 6c 6c 2f 75 75 70 |--r-- uu|poll/uup|
|000002a0| 6f 6c 6c 2e 38 63 0a 23 | 20 20 32 37 35 38 37 20 |oll.8c.#| 27587 |
|000002b0| 2d 72 2d 2d 72 2d 2d 72 | 2d 2d 20 75 75 70 6f 6c |-r--r--r|-- uupol|
|000002c0| 6c 2f 75 75 70 6f 6c 6c | 2e 63 0a 23 0a 23 20 3d |l/uupoll|.c.#.# =|
|000002d0| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 20 75 75 70 |========|==== uup|
|000002e0| 6f 6c 6c 2f 4d 61 6b 65 | 66 69 6c 65 20 3d 3d 3d |oll/Make|file ===|
|000002f0| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 0a 69 66 20 74 |========|===.if t|
|00000300| 65 73 74 20 21 20 2d 64 | 20 27 75 75 70 6f 6c 6c |est ! -d| 'uupoll|
|00000310| 27 3b 20 74 68 65 6e 0a | 20 20 20 20 65 63 68 6f |'; then.| echo|
|00000320| 20 27 78 20 2d 20 63 72 | 65 61 74 69 6e 67 20 64 | 'x - cr|eating d|
|00000330| 69 72 65 63 74 6f 72 79 | 20 75 75 70 6f 6c 6c 27 |irectory| uupoll'|
|00000340| 0a 20 20 20 20 6d 6b 64 | 69 72 20 27 75 75 70 6f |. mkd|ir 'uupo|
|00000350| 6c 6c 27 0a 66 69 0a 69 | 66 20 74 65 73 74 20 2d |ll'.fi.i|f test -|
|00000360| 66 20 27 75 75 70 6f 6c | 6c 2f 4d 61 6b 65 66 69 |f 'uupol|l/Makefi|
|00000370| 6c 65 27 20 2d 61 20 58 | 22 24 31 22 20 21 3d 20 |le' -a X|"$1" != |
|00000380| 58 22 2d 63 22 3b 20 74 | 68 65 6e 0a 09 65 63 68 |X"-c"; t|hen..ech|
|00000390| 6f 20 27 78 20 2d 20 73 | 6b 69 70 70 69 6e 67 20 |o 'x - s|kipping |
|000003a0| 75 75 70 6f 6c 6c 2f 4d | 61 6b 65 66 69 6c 65 20 |uupoll/M|akefile |
|000003b0| 28 46 69 6c 65 20 61 6c | 72 65 61 64 79 20 65 78 |(File al|ready ex|
|000003c0| 69 73 74 73 29 27 0a 65 | 6c 73 65 0a 65 63 68 6f |ists)'.e|lse.echo|
|000003d0| 20 27 78 20 2d 20 65 78 | 74 72 61 63 74 69 6e 67 | 'x - ex|tracting|
|000003e0| 20 75 75 70 6f 6c 6c 2f | 4d 61 6b 65 66 69 6c 65 | uupoll/|Makefile|
|000003f0| 20 28 54 65 78 74 29 27 | 0a 73 65 64 20 27 73 2f | (Text)'|.sed 's/|
|00000400| 5e 58 2f 2f 27 20 3c 3c | 20 27 53 48 41 52 5f 45 |^X//' <<| 'SHAR_E|
|00000410| 4f 46 27 20 3e 20 27 75 | 75 70 6f 6c 6c 2f 4d 61 |OF' > 'u|upoll/Ma|
|00000420| 6b 65 66 69 6c 65 27 20 | 26 26 0a 23 20 54 68 69 |kefile' |&&.# Thi|
|00000430| 73 20 69 73 20 74 68 65 | 20 4d 61 6b 65 66 69 6c |s is the| Makefil|
|00000440| 65 20 66 6f 72 20 75 75 | 70 6f 6c 6c 20 61 6e 64 |e for uu|poll and|
|00000450| 20 61 75 74 6f 70 6f 6c | 6c 0a 23 20 62 6f 72 72 | autopol|l.# borr|
|00000460| 6f 77 65 64 20 61 6e 64 | 20 68 61 63 6b 65 64 20 |owed and| hacked |
|00000470| 66 72 6f 6d 20 54 61 79 | 6c 6f 72 20 55 55 43 50 |from Tay|lor UUCP|
|00000480| 20 31 2e 30 34 0a 58 0a | 23 20 50 72 65 66 69 78 | 1.04.X.|# Prefix|
|00000490| 20 64 69 72 65 63 74 6f | 72 79 20 66 6f 72 20 69 | directo|ry for i|
|000004a0| 6e 73 74 61 6c 6c 61 74 | 69 6f 6e 20 64 69 72 65 |nstallat|ion dire|
|000004b0| 63 74 6f 72 69 65 73 2e | 0a 70 72 65 66 69 78 20 |ctories.|.prefix |
|000004c0| 3d 20 2f 75 73 72 2f 6c | 6f 63 61 6c 0a 58 0a 23 |= /usr/l|ocal.X.#|
|000004d0| 20 54 68 65 20 75 73 65 | 72 20 6e 61 6d 65 2f 67 | The use|r name/g|
|000004e0| 72 6f 75 70 20 74 68 61 | 74 20 73 68 6f 75 6c 64 |roup tha|t should|
|000004f0| 20 6f 77 6e 20 74 68 65 | 20 72 65 73 75 6c 74 69 | own the| resulti|
|00000500| 6e 67 20 65 78 65 63 75 | 74 61 62 6c 65 73 2e 0a |ng execu|tables..|
|00000510| 23 20 42 6f 74 68 20 73 | 68 6f 75 6c 64 20 72 75 |# Both s|hould ru|
|00000520| 6e 20 73 75 69 64 2e 0a | 6f 77 6e 65 72 20 3d 20 |n suid..|owner = |
|00000530| 75 75 63 70 2e 64 61 65 | 6d 6f 6e 0a 58 0a 23 20 |uucp.dae|mon.X.# |
|00000540| 57 68 69 63 68 20 6d 6f | 64 65 20 73 68 6f 75 6c |Which mo|de shoul|
|00000550| 64 20 74 68 65 20 72 65 | 73 75 6c 74 69 6e 67 20 |d the re|sulting |
|00000560| 65 78 65 63 75 74 61 62 | 6c 65 73 20 68 61 76 65 |executab|les have|
|00000570| 2e 0a 65 6d 6f 64 65 20 | 3d 20 34 31 31 31 0a 58 |..emode |= 4111.X|
|00000580| 0a 23 20 57 68 65 72 65 | 20 74 6f 20 69 6e 73 74 |.# Where| to inst|
|00000590| 61 6c 6c 20 61 75 74 6f | 70 6f 6c 6c 2e 20 54 68 |all auto|poll. Th|
|000005a0| 69 73 20 64 65 66 69 6e | 69 74 69 6f 6e 20 72 65 |is defin|ition re|
|000005b0| 71 75 69 72 65 73 20 24 | 28 70 72 65 66 69 78 29 |quires $|(prefix)|
|000005c0| 2f 6c 69 62 20 74 6f 20 | 65 78 69 73 74 2e 0a 6c |/lib to |exist..l|
|000005d0| 62 69 6e 64 69 72 20 3d | 20 24 28 70 72 65 66 69 |bindir =| $(prefi|
|000005e0| 78 29 2f 6c 69 62 2f 75 | 75 63 70 0a 58 0a 23 20 |x)/lib/u|ucp.X.# |
|000005f0| 57 68 65 72 65 20 61 72 | 65 20 74 68 65 20 73 6f |Where ar|e the so|
|00000600| 75 72 63 65 73 20 66 72 | 6f 6d 20 75 75 63 70 2d |urces fr|om uucp-|
|00000610| 54 61 79 6c 6f 72 20 75 | 75 63 70 2e 68 2c 20 75 |Taylor u|ucp.h, u|
|00000620| 75 63 6f 6e 66 2e 68 2c | 20 70 6f 6c 69 63 79 2e |uconf.h,| policy.|
|00000630| 68 2e 0a 23 20 74 68 65 | 20 66 6f 6c 6c 6f 77 69 |h..# the| followi|
|00000640| 6e 67 20 61 73 73 75 6d | 65 73 20 74 68 61 74 20 |ng assum|es that |
|00000650| 6f 75 72 20 73 6f 75 72 | 63 65 73 20 61 72 65 20 |our sour|ces are |
|00000660| 69 6e 20 75 75 63 70 2d | 31 2e 30 35 2f 63 6f 6e |in uucp-|1.05/con|
|00000670| 74 72 69 62 2f 75 75 70 | 6f 6c 6c 0a 23 20 61 6e |trib/uup|oll.# an|
|00000680| 64 20 74 68 65 20 72 65 | 71 75 69 72 65 64 20 2e |d the re|quired .|
|00000690| 68 20 66 69 6c 65 73 20 | 61 72 65 20 69 6e 20 6d |h files |are in m|
|000006a0| 61 69 6e 20 64 69 72 65 | 63 74 6f 72 79 20 66 6f |ain dire|ctory fo|
|000006b0| 72 20 75 75 63 70 2d 31 | 2e 30 35 0a 75 75 63 70 |r uucp-1|.05.uucp|
|000006c0| 73 72 63 73 20 3d 20 2e | 2e 2f 2e 2e 2f 0a 58 0a |srcs = .|./../.X.|
|000006d0| 23 20 57 68 65 72 65 20 | 74 6f 20 69 6e 73 74 61 |# Where |to insta|
|000006e0| 6c 6c 20 75 75 70 6f 6c | 6c 0a 62 62 69 6e 64 69 |ll uupol|l.bbindi|
|000006f0| 72 20 3d 20 24 28 70 72 | 65 66 69 78 29 2f 62 69 |r = $(pr|efix)/bi|
|00000700| 6e 0a 58 0a 23 20 57 68 | 65 72 65 20 74 6f 20 69 |n.X.# Wh|ere to i|
|00000710| 6e 73 74 61 6c 6c 20 6d | 61 6e 20 70 61 67 65 73 |nstall m|an pages|
|00000720| 2e 20 20 53 65 63 74 69 | 6f 6e 20 38 20 66 6f 72 |. Secti|on 8 for|
|00000730| 20 64 61 65 6d 6f 6e 73 | 2e 0a 6d 61 6e 38 64 69 | daemons|..man8di|
|00000740| 72 20 3d 20 24 28 70 72 | 65 66 69 78 29 2f 6d 61 |r = $(pr|efix)/ma|
|00000750| 6e 2f 6d 61 6e 38 0a 6d | 61 6e 38 65 78 74 20 3d |n/man8.m|an8ext =|
|00000760| 20 2e 38 63 0a 58 0a 23 | 20 44 65 66 69 6e 65 20 | .8c.X.#| Define |
|00000770| 70 72 6f 67 72 61 6d 73 | 20 61 6e 64 20 66 6c 61 |programs| and fla|
|00000780| 67 73 0a 43 43 20 3d 20 | 67 63 63 0a 43 46 4c 41 |gs.CC = |gcc.CFLA|
|00000790| 47 53 20 3d 20 2d 4f 32 | 0a 4c 44 46 4c 41 47 53 |GS = -O2|.LDFLAGS|
|000007a0| 20 3d 20 2d 73 0a 4c 49 | 42 53 20 3d 0a 58 0a 49 | = -s.LI|BS =.X.I|
|000007b0| 4e 53 54 41 4c 4c 20 3d | 20 2f 75 73 72 2f 62 69 |NSTALL =| /usr/bi|
|000007c0| 6e 2f 69 6e 73 74 61 6c | 6c 20 2d 63 0a 49 4e 53 |n/instal|l -c.INS|
|000007d0| 54 41 4c 4c 5f 50 52 4f | 47 52 41 4d 20 3d 20 24 |TALL_PRO|GRAM = $|
|000007e0| 28 49 4e 53 54 41 4c 4c | 29 0a 49 4e 53 54 41 4c |(INSTALL|).INSTAL|
|000007f0| 4c 5f 44 41 54 41 20 3d | 20 24 28 49 4e 53 54 41 |L_DATA =| $(INSTA|
|00000800| 4c 4c 29 20 2d 6d 20 36 | 34 34 0a 58 0a 23 0a 23 |LL) -m 6|44.X.#.#|
|00000810| 20 4e 6f 74 68 69 6e 67 | 20 65 6c 73 65 20 74 6f | Nothing| else to|
|00000820| 20 63 6f 6e 66 69 67 75 | 72 65 0a 23 0a 58 0a 53 | configu|re.#.X.S|
|00000830| 48 45 4c 4c 20 3d 20 2f | 62 69 6e 2f 73 68 0a 58 |HELL = /|bin/sh.X|
|00000840| 0a 56 45 52 53 49 4f 4e | 20 3d 20 31 2e 30 30 0a |.VERSION| = 1.00.|
|00000850| 58 0a 4d 4f 52 45 43 46 | 4c 41 47 53 20 3d 20 2d |X.MORECF|LAGS = -|
|00000860| 49 2e 20 2d 49 24 28 75 | 75 63 70 73 72 63 73 29 |I. -I$(u|ucpsrcs)|
|00000870| 20 2d 57 61 6c 6c 0a 58 | 0a 50 52 4f 47 52 41 4d | -Wall.X|.PROGRAM|
|00000880| 53 20 3d 20 75 75 70 6f | 6c 6c 20 61 75 74 6f 70 |S = uupo|ll autop|
|00000890| 6f 6c 6c 0a 58 0a 55 55 | 50 4f 4c 4c 4f 42 4a 53 |oll.X.UU|POLLOBJS|
|000008a0| 20 3d 20 75 75 70 6f 6c | 6c 2e 6f 0a 41 55 54 4f | = uupol|l.o.AUTO|
|000008b0| 4f 42 4a 53 20 3d 20 61 | 75 74 6f 70 6f 6c 6c 2e |OBJS = a|utopoll.|
|000008c0| 6f 0a 58 0a 41 4c 4c 4f | 42 4a 53 20 3d 20 75 75 |o.X.ALLO|BJS = uu|
|000008d0| 70 6f 6c 6c 2e 6f 20 61 | 75 74 6f 70 6f 6c 6c 2e |poll.o a|utopoll.|
|000008e0| 6f 0a 58 0a 61 6c 6c 3a | 20 24 28 50 52 4f 47 52 |o.X.all:| $(PROGR|
|000008f0| 41 4d 53 29 0a 58 0a 69 | 6e 73 74 61 6c 6c 3a 20 |AMS).X.i|nstall: |
|00000900| 24 28 50 52 4f 47 52 41 | 4d 53 29 0a 58 09 69 66 |$(PROGRA|MS).X.if|
|00000910| 20 74 65 73 74 20 2d 64 | 20 24 28 6c 62 69 6e 64 | test -d| $(lbind|
|00000920| 69 72 29 3b 20 74 68 65 | 6e 20 74 72 75 65 3b 20 |ir); the|n true; |
|00000930| 65 6c 73 65 20 6d 6b 64 | 69 72 20 24 28 6c 62 69 |else mkd|ir $(lbi|
|00000940| 6e 64 69 72 29 3b 20 66 | 69 0a 58 09 69 66 20 74 |ndir); f|i.X.if t|
|00000950| 65 73 74 20 2d 64 20 24 | 28 62 62 69 6e 64 69 72 |est -d $|(bbindir|
|00000960| 29 3b 20 74 68 65 6e 20 | 74 72 75 65 3b 20 65 6c |); then |true; el|
|00000970| 73 65 20 6d 6b 64 69 72 | 20 24 28 62 62 69 6e 64 |se mkdir| $(bbind|
|00000980| 69 72 29 3b 20 66 69 0a | 58 09 2d 69 66 20 74 65 |ir); fi.|X.-if te|
|00000990| 73 74 20 2d 66 20 24 28 | 6c 62 69 6e 64 69 72 29 |st -f $(|lbindir)|
|000009a0| 2f 61 75 74 6f 70 6f 6c | 6c 2e 6f 6c 64 3b 20 74 |/autopol|l.old; t|
|000009b0| 68 65 6e 20 72 6d 20 2d | 66 20 24 28 6c 62 69 6e |hen rm -|f $(lbin|
|000009c0| 64 69 72 29 2f 61 75 74 | 6f 70 6f 6c 6c 3b 20 65 |dir)/aut|opoll; e|
|000009d0| 6c 73 65 20 6d 76 20 24 | 28 6c 62 69 6e 64 69 72 |lse mv $|(lbindir|
|000009e0| 29 2f 61 75 74 6f 70 6f | 6c 6c 20 24 28 6c 62 69 |)/autopo|ll $(lbi|
|000009f0| 6e 64 69 72 29 2f 61 75 | 74 6f 70 6f 6c 6c 2e 6f |ndir)/au|topoll.o|
|00000a00| 6c 64 3b 20 66 69 0a 58 | 09 2d 69 66 20 74 65 73 |ld; fi.X|.-if tes|
|00000a10| 74 20 2d 66 20 24 28 62 | 62 69 6e 64 69 72 29 2f |t -f $(b|bindir)/|
|00000a20| 75 75 70 6f 6c 6c 2e 6f | 6c 64 3b 20 74 68 65 6e |uupoll.o|ld; then|
|00000a30| 20 72 6d 20 2d 66 20 24 | 28 62 62 69 6e 64 69 72 | rm -f $|(bbindir|
|00000a40| 29 2f 75 75 70 6f 6c 6c | 3b 20 65 6c 73 65 20 6d |)/uupoll|; else m|
|00000a50| 76 20 24 28 62 62 69 6e | 64 69 72 29 2f 75 75 70 |v $(bbin|dir)/uup|
|00000a60| 6f 6c 6c 20 24 28 62 62 | 69 6e 64 69 72 29 2f 75 |oll $(bb|indir)/u|
|00000a70| 75 70 6f 6c 6c 2e 6f 6c | 64 3b 20 66 69 0a 58 09 |upoll.ol|d; fi.X.|
|00000a80| 24 28 49 4e 53 54 41 4c | 4c 5f 50 52 4f 47 52 41 |$(INSTAL|L_PROGRA|
|00000a90| 4d 29 20 61 75 74 6f 70 | 6f 6c 6c 20 24 28 6c 62 |M) autop|oll $(lb|
|00000aa0| 69 6e 64 69 72 29 2f 61 | 75 74 6f 70 6f 6c 6c 0a |indir)/a|utopoll.|
|00000ab0| 58 09 24 28 49 4e 53 54 | 41 4c 4c 5f 50 52 4f 47 |X.$(INST|ALL_PROG|
|00000ac0| 52 41 4d 29 20 75 75 70 | 6f 6c 6c 20 24 28 62 62 |RAM) uup|oll $(bb|
|00000ad0| 69 6e 64 69 72 29 2f 75 | 75 70 6f 6c 6c 0a 58 09 |indir)/u|upoll.X.|
|00000ae0| 63 68 6f 77 6e 20 24 28 | 6f 77 6e 65 72 29 20 24 |chown $(|owner) $|
|00000af0| 28 6c 62 69 6e 64 69 72 | 29 2f 61 75 74 6f 70 6f |(lbindir|)/autopo|
|00000b00| 6c 6c 20 24 28 62 62 69 | 6e 64 69 72 29 2f 75 75 |ll $(bbi|ndir)/uu|
|00000b10| 70 6f 6c 6c 0a 58 09 63 | 68 6d 6f 64 20 24 28 65 |poll.X.c|hmod $(e|
|00000b20| 6d 6f 64 65 29 20 24 28 | 6c 62 69 6e 64 69 72 29 |mode) $(|lbindir)|
|00000b30| 2f 61 75 74 6f 70 6f 6c | 6c 20 24 28 62 62 69 6e |/autopol|l $(bbin|
|00000b40| 64 69 72 29 2f 75 75 70 | 6f 6c 6c 0a 58 09 24 28 |dir)/uup|oll.X.$(|
|00000b50| 49 4e 53 54 41 4c 4c 5f | 44 41 54 41 29 20 75 75 |INSTALL_|DATA) uu|
|00000b60| 70 6f 6c 6c 2e 38 63 20 | 24 28 6d 61 6e 38 64 69 |poll.8c |$(man8di|
|00000b70| 72 29 2f 75 75 70 6f 6c | 6c 24 28 6d 61 6e 38 65 |r)/uupol|l$(man8e|
|00000b80| 78 74 29 0a 58 09 24 28 | 49 4e 53 54 41 4c 4c 5f |xt).X.$(|INSTALL_|
|00000b90| 44 41 54 41 29 20 61 75 | 74 6f 70 6f 6c 6c 2e 38 |DATA) au|topoll.8|
|00000ba0| 63 20 24 28 6d 61 6e 38 | 64 69 72 29 2f 61 75 74 |c $(man8|dir)/aut|
|00000bb0| 6f 70 6f 6c 6c 24 28 6d | 61 6e 38 65 78 74 29 0a |opoll$(m|an8ext).|
|00000bc0| 58 0a 75 6e 69 6e 73 74 | 61 6c 6c 3a 0a 58 09 72 |X.uninst|all:.X.r|
|00000bd0| 6d 20 2d 66 20 24 28 6c | 62 69 6e 64 69 72 29 2f |m -f $(l|bindir)/|
|00000be0| 61 75 74 6f 70 6f 6c 6c | 20 24 28 62 62 69 6e 64 |autopoll| $(bbind|
|00000bf0| 69 72 29 2f 75 75 70 6f | 6c 6c 0a 58 09 72 6d 20 |ir)/uupo|ll.X.rm |
|00000c00| 2d 66 20 24 28 6d 61 6e | 38 64 69 72 29 2f 61 75 |-f $(man|8dir)/au|
|00000c10| 74 6f 70 6f 6c 6c 24 28 | 6d 61 6e 38 65 78 74 29 |topoll$(|man8ext)|
|00000c20| 20 24 28 6d 61 6e 38 64 | 69 72 29 2f 75 75 70 6f | $(man8d|ir)/uupo|
|00000c30| 6c 6c 24 28 6d 61 6e 38 | 65 78 74 29 0a 58 09 2d |ll$(man8|ext).X.-|
|00000c40| 63 70 20 24 28 6c 62 69 | 6e 64 69 72 29 2f 61 75 |cp $(lbi|ndir)/au|
|00000c50| 74 6f 70 6f 6c 6c 2e 6f | 6c 64 20 24 28 6c 62 69 |topoll.o|ld $(lbi|
|00000c60| 6e 64 69 72 29 2f 61 75 | 74 6f 70 6f 6c 6c 0a 58 |ndir)/au|topoll.X|
|00000c70| 09 2d 63 70 20 24 28 62 | 62 69 6e 64 69 72 29 2f |.-cp $(b|bindir)/|
|00000c80| 75 75 70 6f 6c 6c 2e 6f | 6c 64 20 24 28 62 62 69 |uupoll.o|ld $(bbi|
|00000c90| 6e 64 69 72 29 2f 75 75 | 70 6f 6c 6c 0a 58 09 2d |ndir)/uu|poll.X.-|
|00000ca0| 63 68 6f 77 6e 20 24 28 | 6f 77 6e 65 72 29 20 24 |chown $(|owner) $|
|00000cb0| 28 6c 62 69 6e 64 69 72 | 29 2f 61 75 74 6f 70 6f |(lbindir|)/autopo|
|00000cc0| 6c 6c 20 24 28 62 62 69 | 6e 64 69 72 29 2f 75 75 |ll $(bbi|ndir)/uu|
|00000cd0| 70 6f 6c 6c 0a 58 09 2d | 63 68 6d 6f 64 20 24 28 |poll.X.-|chmod $(|
|00000ce0| 65 6d 6f 64 65 29 20 24 | 28 6c 62 69 6e 64 69 72 |emode) $|(lbindir|
|00000cf0| 29 2f 61 75 74 6f 70 6f | 6c 6c 20 24 28 62 62 69 |)/autopo|ll $(bbi|
|00000d00| 6e 64 69 72 29 2f 75 75 | 70 6f 6c 6c 0a 58 0a 75 |ndir)/uu|poll.X.u|
|00000d10| 75 70 6f 6c 6c 3a 20 24 | 28 55 55 50 4f 4c 4c 4f |upoll: $|(UUPOLLO|
|00000d20| 42 4a 53 29 0a 58 09 24 | 28 43 43 29 20 24 28 4c |BJS).X.$|(CC) $(L|
|00000d30| 44 46 4c 41 47 53 29 20 | 2d 6f 20 75 75 70 6f 6c |DFLAGS) |-o uupol|
|00000d40| 6c 20 24 28 55 55 50 4f | 4c 4c 4f 42 4a 53 29 20 |l $(UUPO|LLOBJS) |
|00000d50| 24 28 4c 49 42 53 29 0a | 58 0a 61 75 74 6f 70 6f |$(LIBS).|X.autopo|
|00000d60| 6c 6c 3a 20 24 28 41 55 | 54 4f 4f 42 4a 53 29 0a |ll: $(AU|TOOBJS).|
|00000d70| 58 09 24 28 43 43 29 20 | 24 28 4c 44 46 4c 41 47 |X.$(CC) |$(LDFLAG|
|00000d80| 53 29 20 2d 6f 20 61 75 | 74 6f 70 6f 6c 6c 20 24 |S) -o au|topoll $|
|00000d90| 28 41 55 54 4f 4f 42 4a | 53 29 20 24 28 4c 49 42 |(AUTOOBJ|S) $(LIB|
|00000da0| 53 29 0a 58 0a 2e 63 2e | 6f 3a 0a 58 09 24 28 43 |S).X..c.|o:.X.$(C|
|00000db0| 43 29 20 2d 63 20 24 28 | 43 46 4c 41 47 53 29 20 |C) -c $(|CFLAGS) |
|00000dc0| 24 28 4d 4f 52 45 43 46 | 4c 41 47 53 29 20 24 3c |$(MORECF|LAGS) $<|
|00000dd0| 0a 58 0a 58 0a 63 6c 65 | 61 6e 3a 0a 58 09 72 6d |.X.X.cle|an:.X.rm|
|00000de0| 20 2d 66 20 24 28 41 4c | 4c 4f 42 4a 53 29 20 24 | -f $(AL|LOBJS) $|
|00000df0| 28 50 52 4f 47 52 41 4d | 53 29 0a 58 0a 6d 6f 73 |(PROGRAM|S).X.mos|
|00000e00| 74 6c 79 63 6c 65 61 6e | 3a 20 63 6c 65 61 6e 0a |tlyclean|: clean.|
|00000e10| 58 0a 54 41 47 53 3a 0a | 58 09 65 74 61 67 73 20 |X.TAGS:.|X.etags |
|00000e20| 2a 2e 68 20 2a 2e 63 0a | 58 0a 23 20 48 65 61 64 |*.h *.c.|X.# Head|
|00000e30| 65 72 20 66 69 6c 65 20 | 64 65 70 65 6e 64 65 6e |er file |dependen|
|00000e40| 63 69 65 73 2e 20 20 54 | 68 65 73 65 20 61 72 65 |cies. T|hese are|
|00000e50| 20 6d 61 69 6e 74 61 69 | 6e 65 64 20 62 79 20 68 | maintai|ned by h|
|00000e60| 61 6e 64 2e 0a 58 0a 24 | 28 41 4c 4c 4f 42 4a 53 |and..X.$|(ALLOBJS|
|00000e70| 29 3a 20 63 6f 6e 66 2e | 68 0a 58 0a 2e 4e 4f 45 |): conf.|h.X..NOE|
|00000e80| 58 50 4f 52 54 3a 0a 53 | 48 41 52 5f 45 4f 46 0a |XPORT:.S|HAR_EOF.|
|00000e90| 63 68 6d 6f 64 20 30 34 | 34 34 20 75 75 70 6f 6c |chmod 04|44 uupol|
|00000ea0| 6c 2f 4d 61 6b 65 66 69 | 6c 65 20 7c 7c 0a 65 63 |l/Makefi|le ||.ec|
|00000eb0| 68 6f 20 27 72 65 73 74 | 6f 72 65 20 6f 66 20 75 |ho 'rest|ore of u|
|00000ec0| 75 70 6f 6c 6c 2f 4d 61 | 6b 65 66 69 6c 65 20 66 |upoll/Ma|kefile f|
|00000ed0| 61 69 6c 65 64 27 0a 57 | 63 5f 63 3d 22 60 77 63 |ailed'.W|c_c="`wc|
|00000ee0| 20 2d 63 20 3c 20 27 75 | 75 70 6f 6c 6c 2f 4d 61 | -c < 'u|upoll/Ma|
|00000ef0| 6b 65 66 69 6c 65 27 60 | 22 0a 74 65 73 74 20 32 |kefile'`|".test 2|
|00000f00| 36 30 32 20 2d 65 71 20 | 22 24 57 63 5f 63 22 20 |602 -eq |"$Wc_c" |
|00000f10| 7c 7c 0a 09 65 63 68 6f | 20 27 75 75 70 6f 6c 6c |||..echo| 'uupoll|
|00000f20| 2f 4d 61 6b 65 66 69 6c | 65 3a 20 6f 72 69 67 69 |/Makefil|e: origi|
|00000f30| 6e 61 6c 20 73 69 7a 65 | 20 32 36 30 32 2c 20 63 |nal size| 2602, c|
|00000f40| 75 72 72 65 6e 74 20 73 | 69 7a 65 27 20 22 24 57 |urrent s|ize' "$W|
|00000f50| 63 5f 63 22 0a 66 69 0a | 23 20 3d 3d 3d 3d 3d 3d |c_c".fi.|# ======|
|00000f60| 3d 3d 3d 3d 3d 3d 3d 20 | 75 75 70 6f 6c 6c 2f 52 |======= |uupoll/R|
|00000f70| 45 41 44 4d 45 20 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |EADME ==|========|
|00000f80| 3d 3d 3d 3d 0a 69 66 20 | 74 65 73 74 20 2d 66 20 |====.if |test -f |
|00000f90| 27 75 75 70 6f 6c 6c 2f | 52 45 41 44 4d 45 27 20 |'uupoll/|README' |
|00000fa0| 2d 61 20 58 22 24 31 22 | 20 21 3d 20 58 22 2d 63 |-a X"$1"| != X"-c|
|00000fb0| 22 3b 20 74 68 65 6e 0a | 09 65 63 68 6f 20 27 78 |"; then.|.echo 'x|
|00000fc0| 20 2d 20 73 6b 69 70 70 | 69 6e 67 20 75 75 70 6f | - skipp|ing uupo|
|00000fd0| 6c 6c 2f 52 45 41 44 4d | 45 20 28 46 69 6c 65 20 |ll/READM|E (File |
|00000fe0| 61 6c 72 65 61 64 79 20 | 65 78 69 73 74 73 29 27 |already |exists)'|
|00000ff0| 0a 65 6c 73 65 0a 65 63 | 68 6f 20 27 78 20 2d 20 |.else.ec|ho 'x - |
|00001000| 65 78 74 72 61 63 74 69 | 6e 67 20 75 75 70 6f 6c |extracti|ng uupol|
|00001010| 6c 2f 52 45 41 44 4d 45 | 20 28 54 65 78 74 29 27 |l/README| (Text)'|
|00001020| 0a 73 65 64 20 27 73 2f | 5e 58 2f 2f 27 20 3c 3c |.sed 's/|^X//' <<|
|00001030| 20 27 53 48 41 52 5f 45 | 4f 46 27 20 3e 20 27 75 | 'SHAR_E|OF' > 'u|
|00001040| 75 70 6f 6c 6c 2f 52 45 | 41 44 4d 45 27 20 26 26 |upoll/RE|ADME' &&|
|00001050| 0a 58 0a 54 68 65 20 70 | 61 63 6b 61 67 65 20 63 |.X.The p|ackage c|
|00001060| 6f 6e 73 69 73 74 73 20 | 6f 66 20 74 68 65 20 66 |onsists |of the f|
|00001070| 6f 6c 6c 6f 77 69 6e 67 | 20 66 69 6c 65 73 3a 0a |ollowing| files:.|
|00001080| 58 0a 58 20 2d 20 61 75 | 74 6f 70 6f 6c 6c 2e 63 |X.X - au|topoll.c|
|00001090| 0a 58 20 2d 20 61 75 74 | 6f 70 6f 6c 6c 2e 38 63 |.X - aut|opoll.8c|
|000010a0| 0a 58 20 2d 20 63 6f 6e | 66 2e 68 0a 58 20 2d 20 |.X - con|f.h.X - |
|000010b0| 4d 61 6b 65 66 69 6c 65 | 0a 58 20 2d 20 52 45 41 |Makefile|.X - REA|
|000010c0| 44 4d 45 0a 58 20 2d 20 | 75 75 70 6f 6c 6c 2e 63 |DME.X - |uupoll.c|
|000010d0| 0a 58 20 2d 20 75 75 70 | 6f 6c 6c 2e 38 63 0a 58 |.X - uup|oll.8c.X|
|000010e0| 0a 43 41 56 45 41 54 3a | 0a 75 75 70 6f 6c 6c 20 |.CAVEAT:|.uupoll |
|000010f0| 61 73 20 77 65 6c 6c 20 | 61 73 20 61 75 74 6f 70 |as well |as autop|
|00001100| 6f 6c 6c 20 61 72 65 20 | 63 72 65 61 74 65 64 2c |oll are |created,|
|00001110| 20 74 65 73 74 65 64 20 | 61 6e 64 20 72 75 6e 20 | tested |and run |
|00001120| 6f 6e 20 0a 61 20 4e 65 | 58 54 20 72 75 6e 6e 69 |on .a Ne|XT runni|
|00001130| 6e 67 20 4e 65 58 54 73 | 74 65 70 20 32 2e 31 2b |ng NeXTs|tep 2.1+|
|00001140| 20 6f 6e 6c 79 21 20 41 | 75 74 6f 70 6f 6c 6c 20 | only! A|utopoll |
|00001150| 77 69 6c 6c 20 74 61 6b | 65 20 74 68 65 20 73 61 |will tak|e the sa|
|00001160| 6d 65 20 61 72 67 75 6d | 65 6e 74 73 0a 61 73 20 |me argum|ents.as |
|00001170| 75 75 63 69 63 6f 20 61 | 6e 64 20 6d 61 79 20 77 |uucico a|nd may w|
|00001180| 65 6c 6c 20 77 6f 72 6b | 20 77 69 74 68 20 74 68 |ell work| with th|
|00001190| 65 6d 20 74 68 65 20 73 | 61 6d 65 20 77 61 79 20 |em the s|ame way |
|000011a0| 75 75 63 69 63 6f 20 77 | 6f 72 6b 73 20 62 75 74 |uucico w|orks but|
|000011b0| 20 69 74 0a 68 61 73 20 | 6f 6e 6c 79 20 62 65 65 | it.has |only bee|
|000011c0| 6e 20 74 65 73 74 65 64 | 20 74 6f 20 63 61 6c 6c |n tested| to call|
|000011d0| 20 75 75 63 69 63 6f 20 | 77 69 74 68 20 74 68 65 | uucico |with the|
|000011e0| 20 6f 70 74 69 6f 6e 73 | 3a 0a 58 0a 58 20 2d 73 | options|:.X.X -s|
|000011f0| 3c 73 69 74 65 3e 20 2d | 53 3c 73 69 74 65 3e 20 |<site> -|S<site> |
|00001200| 2d 66 20 2d 72 31 20 2d | 43 20 2d 44 20 28 61 73 |-f -r1 -|C -D (as|
|00001210| 20 77 65 6c 6c 20 61 73 | 20 74 68 65 20 6c 6f 6e | well as| the lon|
|00001220| 67 20 66 6f 72 6d 20 6f | 66 20 74 68 65 73 65 20 |g form o|f these |
|00001230| 6f 70 74 69 6f 6e 73 29 | 20 0a 58 0a 73 6f 20 66 |options)| .X.so f|
|00001240| 61 72 2e 20 41 6c 6c 20 | 6f 70 74 69 6f 6e 73 20 |ar. All |options |
|00001250| 67 69 76 65 6e 20 74 6f | 20 61 75 74 6f 70 6f 6c |given to| autopol|
|00001260| 6c 20 77 69 6c 6c 20 62 | 65 20 70 61 73 73 65 64 |l will b|e passed|
|00001270| 20 76 65 72 62 61 74 69 | 6d 20 74 6f 20 75 75 63 | verbati|m to uuc|
|00001280| 69 63 6f 2e 0a 58 0a 44 | 45 53 43 52 49 50 54 49 |ico..X.D|ESCRIPTI|
|00001290| 4f 4e 3a 0a 54 68 65 20 | 70 72 6f 67 72 61 6d 20 |ON:.The |program |
|000012a0| 75 75 70 6f 6c 6c 20 77 | 61 73 20 63 72 65 61 74 |uupoll w|as creat|
|000012b0| 65 64 20 74 6f 20 62 65 | 20 61 20 66 75 6c 6c 20 |ed to be| a full |
|000012c0| 72 65 70 6c 61 63 65 6d | 65 6e 74 20 66 6f 72 20 |replacem|ent for |
|000012d0| 74 68 65 20 76 65 6e 64 | 6f 72 0a 73 75 70 70 6c |the vend|or.suppl|
|000012e0| 69 65 64 20 6f 6e 65 20 | 6f 6e 20 61 20 4e 65 58 |ied one |on a NeX|
|000012f0| 54 20 63 6f 6d 70 75 74 | 65 72 2e 20 54 68 61 74 |T comput|er. That|
|00001300| 20 75 75 70 6f 6c 6c 20 | 63 68 65 63 6b 65 64 20 | uupoll |checked |
|00001310| 61 6e 79 20 73 69 74 65 | 20 6e 61 6d 65 20 61 67 |any site| name ag|
|00001320| 61 69 6e 73 74 0a 74 68 | 65 20 22 68 61 72 64 77 |ainst.th|e "hardw|
|00001330| 69 72 65 64 22 20 4c 2e | 73 79 73 20 61 6e 64 20 |ired" L.|sys and |
|00001340| 64 69 64 20 65 6e 64 20 | 77 69 74 68 20 61 20 22 |did end |with a "|
|00001350| 42 75 73 20 65 72 72 6f | 72 22 20 69 66 20 74 68 |Bus erro|r" if th|
|00001360| 65 20 73 69 74 65 20 63 | 6f 75 6c 64 20 6e 6f 74 |e site c|ould not|
|00001370| 0a 62 65 20 66 6f 75 6e | 64 2e 20 54 68 65 72 65 |.be foun|d. There|
|00001380| 20 77 61 73 20 6e 6f 20 | 73 6f 75 72 63 65 20 61 | was no |source a|
|00001390| 76 61 69 6c 61 62 6c 65 | 20 74 6f 20 6d 6f 64 69 |vailable| to modi|
|000013a0| 66 79 20 73 6f 20 69 74 | 20 68 61 64 20 74 6f 20 |fy so it| had to |
|000013b0| 62 65 20 63 72 65 61 74 | 65 64 0a 66 72 6f 6d 20 |be creat|ed.from |
|000013c0| 73 63 72 61 74 63 68 2e | 0a 54 68 65 20 70 72 6f |scratch.|.The pro|
|000013d0| 67 72 61 6d 20 61 75 74 | 6f 70 6f 6c 6c 20 68 61 |gram aut|opoll ha|
|000013e0| 73 20 6e 6f 20 65 71 75 | 69 76 61 6c 65 6e 74 20 |s no equ|ivalent |
|000013f0| 61 6e 20 74 68 65 20 4e | 65 58 54 2e 20 54 68 65 |an the N|eXT. The|
|00001400| 20 69 6e 74 65 6e 74 69 | 6f 6e 73 20 62 65 68 69 | intenti|ons behi|
|00001410| 6e 64 0a 69 74 20 77 61 | 73 20 74 6f 20 61 75 74 |nd.it wa|s to aut|
|00001420| 6f 6d 61 74 65 20 74 68 | 65 20 74 61 73 6b 20 6f |omate th|e task o|
|00001430| 66 20 72 65 73 63 68 65 | 64 75 6c 69 6e 67 20 61 |f resche|duling a|
|00001440| 6e 79 20 66 61 69 6c 65 | 64 20 63 61 6c 6c 2e 20 |ny faile|d call. |
|00001450| 49 74 20 6d 61 79 20 62 | 65 0a 73 74 61 72 74 65 |It may b|e.starte|
|00001460| 64 20 62 79 20 61 6e 20 | 65 6e 74 72 79 20 69 6e |d by an |entry in|
|00001470| 20 74 68 65 20 63 72 6f | 6e 74 61 62 20 74 61 62 | the cro|ntab tab|
|00001480| 6c 65 73 20 69 6e 20 6a | 75 73 74 20 74 68 65 20 |les in j|ust the |
|00001490| 73 61 6d 65 20 77 61 79 | 20 75 75 63 69 63 6f 20 |same way| uucico |
|000014a0| 69 73 0a 73 74 61 72 74 | 65 64 20 28 69 74 20 77 |is.start|ed (it w|
|000014b0| 69 6c 6c 20 73 74 61 72 | 74 20 75 75 63 69 63 6f |ill star|t uucico|
|000014c0| 29 3a 0a 58 0a 30 35 20 | 35 20 2a 20 2a 20 2a 20 |):.X.05 |5 * * * |
|000014d0| 20 20 20 20 20 20 75 75 | 63 70 20 20 2f 75 73 72 | uu|cp /usr|
|000014e0| 2f 6c 6f 63 61 6c 2f 6c | 69 62 2f 75 75 63 70 2f |/local/l|ib/uucp/|
|000014f0| 61 75 74 6f 70 6f 6c 6c | 20 2d 72 31 20 3e 3e 2f |autopoll| -r1 >>/|
|00001500| 74 6d 70 2f 70 6f 6c 6c | 2e 6c 6f 67 20 32 3e 26 |tmp/poll|.log 2>&|
|00001510| 31 0a 58 0a 41 6e 79 20 | 6d 65 73 73 61 67 65 73 |1.X.Any |messages|
|00001520| 20 67 6f 20 74 6f 20 73 | 74 64 65 72 72 20 6f 72 | go to s|tderr or|
|00001530| 20 61 20 66 69 6c 65 20 | 28 69 66 20 63 6f 6d 70 | a file |(if comp|
|00001540| 69 6c 65 64 20 77 69 74 | 68 20 74 68 61 74 20 6f |iled wit|h that o|
|00001550| 70 74 69 6f 6e 29 3b 20 | 69 6e 20 63 61 73 65 0a |ption); |in case.|
|00001560| 74 68 65 20 66 69 6c 65 | 20 63 6f 75 6c 64 20 6e |the file| could n|
|00001570| 6f 74 20 62 65 20 6f 70 | 65 6e 65 64 20 69 74 20 |ot be op|ened it |
|00001580| 77 69 6c 6c 20 75 73 65 | 20 73 74 64 6f 75 74 20 |will use| stdout |
|00001590| 74 6f 20 74 65 6c 6c 20 | 79 6f 75 20 6a 75 73 74 |to tell |you just|
|000015a0| 20 74 68 61 74 20 61 6e | 64 20 71 75 69 74 2e 0a | that an|d quit..|
|000015b0| 54 6f 20 63 61 74 63 68 | 20 61 6e 79 20 6f 75 74 |To catch| any out|
|000015c0| 70 75 74 20 6f 6e 65 20 | 6d 61 79 20 70 6c 61 63 |put one |may plac|
|000015d0| 65 20 74 68 65 20 73 74 | 72 69 6e 67 0a 58 0a 58 |e the st|ring.X.X|
|000015e0| 20 20 3e 3e 2f 74 6d 70 | 2f 70 6f 6c 6c 2e 6c 6f | >>/tmp|/poll.lo|
|000015f0| 67 20 32 3e 26 31 0a 58 | 0a 69 6e 74 6f 20 74 68 |g 2>&1.X|.into th|
|00001600| 65 20 63 6f 6d 6d 61 6e | 64 20 6c 69 6e 65 20 61 |e comman|d line a|
|00001610| 73 20 77 65 6c 6c 2e 20 | 55 75 70 6f 6c 6c 20 61 |s well. |Uupoll a|
|00001620| 73 20 77 65 6c 6c 20 61 | 73 20 61 75 74 6f 70 6f |s well a|s autopo|
|00001630| 6c 6c 20 77 69 6c 6c 20 | 70 6c 61 63 65 20 6f 6e |ll will |place on|
|00001640| 6c 79 0a 61 20 73 74 61 | 72 74 20 6d 65 73 73 61 |ly.a sta|rt messa|
|00001650| 67 65 20 69 6e 74 6f 20 | 74 68 65 20 6c 6f 67 66 |ge into |the logf|
|00001660| 69 6c 65 73 20 69 6e 20 | 63 61 73 65 20 74 68 65 |iles in |case the|
|00001670| 79 20 61 72 65 20 69 6e | 76 6f 6b 65 64 20 6d 61 |y are in|voked ma|
|00001680| 6e 75 61 6c 6c 79 20 66 | 72 6f 6d 0a 74 68 65 20 |nually f|rom.the |
|00001690| 73 68 65 6c 6c 2e 0a 49 | 66 20 74 68 65 20 63 61 |shell..I|f the ca|
|000016a0| 6c 6c 20 66 61 69 6c 73 | 20 61 75 74 6f 70 6f 6c |ll fails| autopol|
|000016b0| 6c 20 77 69 6c 6c 20 72 | 65 73 63 68 65 64 75 6c |l will r|eschedul|
|000016c0| 65 20 75 75 63 69 63 6f | 20 66 6f 72 20 61 20 6c |e uucico| for a l|
|000016d0| 61 74 65 72 20 74 69 6d | 65 20 62 79 20 6d 65 61 |ater tim|e by mea|
|000016e0| 6e 73 0a 6f 66 20 61 6e | 20 41 54 20 6a 6f 62 2e |ns.of an| AT job.|
|000016f0| 0a 54 68 65 20 6d 65 73 | 73 61 67 65 73 20 67 69 |.The mes|sages gi|
|00001700| 76 65 6e 20 62 79 20 75 | 75 70 6f 6c 6c 20 61 6e |ven by u|upoll an|
|00001710| 64 20 61 75 74 6f 70 6f | 6c 6c 20 63 61 72 72 79 |d autopo|ll carry|
|00001720| 20 61 6e 20 69 6e 64 69 | 63 61 74 6f 72 20 74 6f | an indi|cator to|
|00001730| 20 69 6e 66 6f 72 6d 20 | 61 62 6f 75 74 0a 74 68 | inform |about.th|
|00001740| 65 20 6e 61 74 75 72 65 | 20 6f 66 20 61 6e 20 65 |e nature| of an e|
|00001750| 72 72 6f 72 3b 20 74 68 | 65 79 20 61 72 65 3a 0a |rror; th|ey are:.|
|00001760| 58 0a 2d 20 28 49 29 20 | 69 6e 66 6f 72 6d 61 6c |X.- (I) |informal|
|00001770| 20 6d 65 73 73 61 67 65 | 3b 20 73 75 63 68 20 61 | message|; such a|
|00001780| 73 20 22 2e 2e 20 73 74 | 61 72 74 65 64 22 20 22 |s ".. st|arted" "|
|00001790| 2e 2e 20 65 6e 64 65 64 | 22 2e 0a 2d 20 28 57 29 |.. ended|"..- (W)|
|000017a0| 20 74 68 65 72 65 20 6d | 69 67 68 74 20 62 65 20 | there m|ight be |
|000017b0| 61 6e 20 65 72 72 6f 72 | 20 62 75 74 20 74 68 65 |an error| but the|
|000017c0| 20 70 72 6f 67 72 61 6d | 20 64 65 63 69 64 65 64 | program| decided|
|000017d0| 20 74 6f 20 67 6f 20 61 | 68 65 61 64 2e 0a 58 20 | to go a|head..X |
|000017e0| 20 20 20 20 20 54 68 65 | 20 65 78 69 74 20 63 6f | The| exit co|
|000017f0| 64 65 20 77 69 6c 6c 20 | 62 65 20 61 74 20 6c 65 |de will |be at le|
|00001800| 61 73 74 20 34 2e 0a 2d | 20 28 45 29 20 61 20 73 |ast 4..-| (E) a s|
|00001810| 65 76 65 72 65 20 65 72 | 72 6f 72 20 77 61 73 20 |evere er|ror was |
|00001820| 65 6e 63 6f 75 6e 74 65 | 72 65 64 20 74 68 61 74 |encounte|red that|
|00001830| 20 65 69 74 68 65 72 20 | 61 62 6f 72 74 73 20 74 | either |aborts t|
|00001840| 68 65 20 77 68 6f 6c 65 | 20 72 75 6e 20 6f 72 0a |he whole| run or.|
|00001850| 58 20 20 20 20 20 20 6f | 6e 6c 79 20 74 68 65 20 |X o|nly the |
|00001860| 74 61 73 6b 20 66 6f 72 | 20 6f 6e 65 20 73 69 74 |task for| one sit|
|00001870| 65 20 77 69 6c 6c 20 62 | 65 20 61 62 6f 72 74 65 |e will b|e aborte|
|00001880| 64 2e 20 0a 58 20 20 20 | 20 20 20 54 68 65 20 65 |d. .X | The e|
|00001890| 78 69 74 20 63 6f 64 65 | 20 77 69 6c 6c 20 62 65 |xit code| will be|
|000018a0| 20 61 74 20 6c 65 61 73 | 74 20 38 2e 0a 2d 20 28 | at leas|t 8..- (|
|000018b0| 43 29 20 61 20 63 61 74 | 61 73 74 72 6f 70 68 69 |C) a cat|astrophi|
|000018c0| 63 20 65 72 72 6f 72 20 | 68 61 73 20 62 65 65 6e |c error |has been|
|000018d0| 20 66 6f 75 6e 64 20 73 | 75 63 68 20 61 73 20 75 | found s|uch as u|
|000018e0| 6e 61 62 6c 65 20 74 6f | 20 66 6f 72 6b 2e 20 54 |nable to| fork. T|
|000018f0| 68 65 20 72 75 6e 0a 58 | 20 20 20 20 20 20 69 73 |he run.X| is|
|00001900| 20 61 62 6f 72 74 65 64 | 2e 0a 58 20 20 20 20 20 | aborted|..X |
|00001910| 20 54 68 65 20 65 78 69 | 74 20 63 6f 64 65 20 77 | The exi|t code w|
|00001920| 69 6c 6c 20 62 65 20 61 | 74 20 6c 65 61 73 74 20 |ill be a|t least |
|00001930| 31 36 2e 0a 54 68 65 20 | 66 69 6e 61 6c 20 6d 65 |16..The |final me|
|00001940| 73 73 61 67 65 20 77 69 | 6c 6c 20 73 68 6f 77 20 |ssage wi|ll show |
|00001950| 74 68 65 20 65 78 69 74 | 20 63 6f 64 65 20 74 68 |the exit| code th|
|00001960| 65 20 70 72 6f 67 72 61 | 6d 6d 20 68 61 73 20 74 |e progra|mm has t|
|00001970| 65 72 6d 69 6e 61 74 65 | 64 20 77 69 74 68 2e 0a |erminate|d with..|
|00001980| 58 0a 46 6f 72 20 6d 6f | 72 65 20 69 6e 66 6f 72 |X.For mo|re infor|
|00001990| 6d 61 74 69 6f 6e 20 73 | 65 65 20 74 68 65 20 6d |mation s|ee the m|
|000019a0| 61 6e 20 70 61 67 65 73 | 20 6f 72 20 6c 6f 6f 6b |an pages| or look|
|000019b0| 20 69 6e 74 6f 20 74 68 | 65 20 73 6f 75 72 63 65 | into th|e source|
|000019c0| 2e 0a 58 0a 49 4e 53 54 | 41 4c 4c 41 54 49 4f 4e |..X.INST|ALLATION|
|000019d0| 3a 0a 61 6c 6c 20 66 69 | 6c 65 73 20 73 68 6f 75 |:.all fi|les shou|
|000019e0| 6c 64 20 62 65 20 70 6c | 61 63 65 64 20 69 6e 20 |ld be pl|aced in |
|000019f0| 6f 6e 65 20 66 6f 6c 64 | 65 72 2e 20 54 68 65 6e |one fold|er. Then|
|00001a00| 20 65 78 61 6d 69 6e 65 | 20 61 6e 64 20 63 68 61 | examine| and cha|
|00001a10| 6e 67 65 20 74 68 65 20 | 66 69 6c 65 73 0a 4d 61 |nge the |files.Ma|
|00001a20| 6b 65 66 69 6c 65 20 61 | 6e 64 20 63 6f 6e 66 2e |kefile a|nd conf.|
|00001a30| 68 20 74 6f 20 6d 65 65 | 74 20 79 6f 75 72 20 6e |h to mee|t your n|
|00001a40| 65 65 64 73 2e 20 54 6f | 20 63 6f 6d 70 69 6c 65 |eeds. To| compile|
|00001a50| 20 75 75 70 6f 6c 6c 20 | 73 6f 6d 65 20 66 69 6c | uupoll |some fil|
|00001a60| 65 73 20 6f 66 0a 75 75 | 63 70 20 6d 75 73 74 20 |es of.uu|cp must |
|00001a70| 62 65 20 61 76 61 69 6c | 61 62 6c 65 20 28 73 65 |be avail|able (se|
|00001a80| 65 20 4d 61 6b 65 66 69 | 6c 65 3a 20 75 75 63 70 |e Makefi|le: uucp|
|00001a90| 73 72 63 73 29 0a 49 66 | 20 6e 6f 74 20 61 6c 72 |srcs).If| not alr|
|00001aa0| 65 61 64 79 20 74 68 65 | 72 65 20 63 68 61 6e 67 |eady the|re chang|
|00001ab0| 65 20 74 6f 20 74 68 65 | 20 64 69 72 65 63 74 6f |e to the| directo|
|00001ac0| 72 79 20 77 68 69 63 68 | 20 63 6f 6e 74 61 69 6e |ry which| contain|
|00001ad0| 20 74 68 65 20 66 69 6c | 65 73 20 61 6e 64 20 74 | the fil|es and t|
|00001ae0| 79 70 65 3a 0a 58 0a 6d | 61 6b 65 0a 58 0a 74 68 |ype:.X.m|ake.X.th|
|00001af0| 69 73 20 73 68 6f 75 6c | 64 20 63 6f 6d 70 69 6c |is shoul|d compil|
|00001b00| 65 20 55 55 50 4f 4c 4c | 20 61 6e 64 20 41 55 54 |e UUPOLL| and AUT|
|00001b10| 4f 50 4f 4c 4c 2e 20 54 | 68 65 72 65 20 73 68 6f |OPOLL. T|here sho|
|00001b20| 75 6c 64 20 6f 6e 6c 79 | 20 62 65 20 61 20 77 61 |uld only| be a wa|
|00001b30| 72 6e 69 6e 67 0a 74 68 | 61 74 20 72 63 73 69 64 |rning.th|at rcsid|
|00001b40| 20 69 73 20 64 65 66 69 | 6e 65 64 20 62 75 74 20 | is defi|ned but |
|00001b50| 6e 6f 74 20 75 73 65 64 | 2e 0a 42 65 66 6f 72 65 |not used|..Before|
|00001b60| 20 61 63 74 75 61 6c 6c | 79 20 69 6e 73 74 61 6c | actuall|y instal|
|00001b70| 6c 69 6e 67 20 79 6f 75 | 20 73 68 6f 75 6c 64 20 |ling you| should |
|00001b80| 74 65 73 74 20 74 68 65 | 20 70 72 6f 67 72 61 6d |test the| program|
|00001b90| 73 20 74 6f 20 62 65 20 | 77 6f 72 6b 69 6e 67 20 |s to be |working |
|00001ba0| 61 73 0a 64 65 73 69 72 | 65 64 2e 0a 54 68 65 6e |as.desir|ed..Then|
|00001bb0| 20 63 68 65 63 6b 20 74 | 68 65 20 4d 61 6b 65 66 | check t|he Makef|
|00001bc0| 69 6c 65 20 66 6f 72 20 | 74 68 65 20 66 69 6e 61 |ile for |the fina|
|00001bd0| 6c 20 70 6c 61 63 65 6d | 65 6e 74 20 6f 66 20 74 |l placem|ent of t|
|00001be0| 68 65 20 6d 6f 64 75 6c | 65 73 20 61 6e 64 20 74 |he modul|es and t|
|00001bf0| 68 65 20 6d 61 6e 0a 70 | 61 67 65 73 2e 20 4d 61 |he man.p|ages. Ma|
|00001c00| 6b 65 20 73 75 72 65 20 | 74 68 65 20 6f 77 6e 65 |ke sure |the owne|
|00001c10| 72 73 68 69 70 20 61 6e | 64 20 73 65 74 75 69 64 |rship an|d setuid|
|00001c20| 20 69 73 20 77 68 61 74 | 20 79 6f 75 20 6e 65 65 | is what| you nee|
|00001c30| 64 20 6f 6e 20 79 6f 75 | 72 20 6d 61 63 68 69 6e |d on you|r machin|
|00001c40| 65 0a 74 6f 20 72 75 6e | 20 74 68 65 20 70 72 6f |e.to run| the pro|
|00001c50| 67 72 61 6d 28 73 29 2e | 0a 54 68 65 6e 20 73 75 |gram(s).|.Then su|
|00001c60| 20 74 6f 20 72 6f 6f 74 | 20 61 6e 64 20 74 79 70 | to root| and typ|
|00001c70| 65 3a 0a 58 0a 6d 61 6b | 65 20 69 6e 73 74 61 6c |e:.X.mak|e instal|
|00001c80| 6c 0a 58 0a 77 68 69 63 | 68 20 73 68 6f 75 6c 64 |l.X.whic|h should|
|00001c90| 20 69 6e 73 74 61 6c 6c | 20 74 68 65 20 61 62 6f | install| the abo|
|00001ca0| 76 65 20 70 72 6f 67 72 | 61 6d 73 20 61 6e 64 20 |ve progr|ams and |
|00001cb0| 74 68 65 20 6d 61 6e 20 | 70 61 67 65 73 20 69 6e |the man |pages in|
|00001cc0| 20 74 68 65 20 61 70 70 | 72 6f 70 72 69 61 74 65 | the app|ropriate|
|00001cd0| 0a 64 69 72 65 63 74 6f | 72 69 65 73 2e 0a 53 6f |.directo|ries..So|
|00001ce0| 6d 65 20 77 6f 72 64 20 | 6f 6e 20 74 68 65 20 63 |me word |on the c|
|00001cf0| 6f 64 69 6e 67 3a 20 68 | 61 76 65 20 6d 65 72 63 |oding: h|ave merc|
|00001d00| 79 21 20 54 68 69 73 20 | 69 73 20 6d 79 20 73 65 |y! This |is my se|
|00001d10| 63 6f 6e 64 20 70 72 6f | 6a 65 63 74 20 69 6e 20 |cond pro|ject in |
|00001d20| 27 43 27 3b 20 61 6e 79 | 0a 73 75 67 67 65 73 74 |'C'; any|.suggest|
|00001d30| 69 6f 6e 73 20 74 68 61 | 74 20 6d 61 79 20 69 6d |ions tha|t may im|
|00001d40| 70 72 6f 76 65 20 74 68 | 65 20 73 74 79 6c 65 2f |prove th|e style/|
|00001d50| 63 6f 64 69 6e 67 20 61 | 72 65 20 77 65 6c 63 6f |coding a|re welco|
|00001d60| 6d 65 20 68 6f 77 65 76 | 65 72 2e 0a 58 0a 49 6e |me howev|er..X.In|
|00001d70| 20 63 61 73 65 20 6f 66 | 20 61 6e 79 20 70 72 6f | case of| any pro|
|00001d80| 62 6c 65 6d 73 20 74 68 | 61 74 20 63 61 6e 27 74 |blems th|at can't|
|00001d90| 20 62 65 20 73 6f 6c 76 | 65 64 20 66 65 65 6c 20 | be solv|ed feel |
|00001da0| 66 72 65 65 20 74 6f 20 | 63 6f 6e 74 61 63 74 20 |free to |contact |
|00001db0| 74 68 65 0a 61 75 74 68 | 6f 72 20 61 74 3a 0a 58 |the.auth|or at:.X|
|00001dc0| 0a 4b 6c 61 75 73 20 44 | 61 68 6c 65 6e 62 75 72 |.Klaus D|ahlenbur|
|00001dd0| 67 20 20 20 20 20 20 20 | 20 20 20 20 20 20 54 69 |g | Ti|
|00001de0| 6d 65 7a 6f 6e 65 20 3a | 20 47 4d 54 20 2b 20 32 |mezone :| GMT + 2|
|00001df0| 0a 50 2e 4f 2e 42 6f 78 | 20 31 32 36 37 20 20 20 |.P.O.Box| 1267 |
|00001e00| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 65 6d | | em|
|00001e10| 61 69 6c 20 20 20 20 3a | 20 6b 64 62 75 72 67 40 |ail :| kdburg@|
|00001e20| 69 6e 63 6f 61 68 65 2e | 68 61 6e 73 65 2e 64 65 |incoahe.|hanse.de|
|00001e30| 0a 44 2d 32 31 32 34 39 | 20 54 6f 73 74 65 64 74 |.D-21249| Tostedt|
|00001e40| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 46 61 | | Fa|
|00001e50| 78 20 20 20 20 20 20 3a | 20 2b 34 39 20 34 32 38 |x :| +49 428|
|00001e60| 37 20 36 37 36 0a 58 20 | 20 20 20 47 65 72 6d 61 |7 676.X | Germa|
|00001e70| 6e 79 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |ny | |
|00001e80| 20 20 20 20 56 6f 69 63 | 65 20 20 20 20 3a 20 2b | Voic|e : +|
|00001e90| 34 39 20 34 32 38 37 20 | 36 38 31 0a 58 0a 48 61 |49 4287 |681.X.Ha|
|00001ea0| 76 65 20 66 75 6e 21 0a | 53 48 41 52 5f 45 4f 46 |ve fun!.|SHAR_EOF|
|00001eb0| 0a 63 68 6d 6f 64 20 30 | 34 34 34 20 75 75 70 6f |.chmod 0|444 uupo|
|00001ec0| 6c 6c 2f 52 45 41 44 4d | 45 20 7c 7c 0a 65 63 68 |ll/READM|E ||.ech|
|00001ed0| 6f 20 27 72 65 73 74 6f | 72 65 20 6f 66 20 75 75 |o 'resto|re of uu|
|00001ee0| 70 6f 6c 6c 2f 52 45 41 | 44 4d 45 20 66 61 69 6c |poll/REA|DME fail|
|00001ef0| 65 64 27 0a 57 63 5f 63 | 3d 22 60 77 63 20 2d 63 |ed'.Wc_c|="`wc -c|
|00001f00| 20 3c 20 27 75 75 70 6f | 6c 6c 2f 52 45 41 44 4d | < 'uupo|ll/READM|
|00001f10| 45 27 60 22 0a 74 65 73 | 74 20 33 36 33 36 20 2d |E'`".tes|t 3636 -|
|00001f20| 65 71 20 22 24 57 63 5f | 63 22 20 7c 7c 0a 09 65 |eq "$Wc_|c" ||..e|
|00001f30| 63 68 6f 20 27 75 75 70 | 6f 6c 6c 2f 52 45 41 44 |cho 'uup|oll/READ|
|00001f40| 4d 45 3a 20 6f 72 69 67 | 69 6e 61 6c 20 73 69 7a |ME: orig|inal siz|
|00001f50| 65 20 33 36 33 36 2c 20 | 63 75 72 72 65 6e 74 20 |e 3636, |current |
|00001f60| 73 69 7a 65 27 20 22 24 | 57 63 5f 63 22 0a 66 69 |size' "$|Wc_c".fi|
|00001f70| 0a 23 20 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |.# =====|========|
|00001f80| 20 75 75 70 6f 6c 6c 2f | 61 75 74 6f 70 6f 6c 6c | uupoll/|autopoll|
|00001f90| 2e 38 63 20 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |.8c ====|========|
|00001fa0| 3d 3d 0a 69 66 20 74 65 | 73 74 20 2d 66 20 27 75 |==.if te|st -f 'u|
|00001fb0| 75 70 6f 6c 6c 2f 61 75 | 74 6f 70 6f 6c 6c 2e 38 |upoll/au|topoll.8|
|00001fc0| 63 27 20 2d 61 20 58 22 | 24 31 22 20 21 3d 20 58 |c' -a X"|$1" != X|
|00001fd0| 22 2d 63 22 3b 20 74 68 | 65 6e 0a 09 65 63 68 6f |"-c"; th|en..echo|
|00001fe0| 20 27 78 20 2d 20 73 6b | 69 70 70 69 6e 67 20 75 | 'x - sk|ipping u|
|00001ff0| 75 70 6f 6c 6c 2f 61 75 | 74 6f 70 6f 6c 6c 2e 38 |upoll/au|topoll.8|
|00002000| 63 20 28 46 69 6c 65 20 | 61 6c 72 65 61 64 79 20 |c (File |already |
|00002010| 65 78 69 73 74 73 29 27 | 0a 65 6c 73 65 0a 65 63 |exists)'|.else.ec|
|00002020| 68 6f 20 27 78 20 2d 20 | 65 78 74 72 61 63 74 69 |ho 'x - |extracti|
|00002030| 6e 67 20 75 75 70 6f 6c | 6c 2f 61 75 74 6f 70 6f |ng uupol|l/autopo|
|00002040| 6c 6c 2e 38 63 20 28 54 | 65 78 74 29 27 0a 73 65 |ll.8c (T|ext)'.se|
|00002050| 64 20 27 73 2f 5e 58 2f | 2f 27 20 3c 3c 20 27 53 |d 's/^X/|/' << 'S|
|00002060| 48 41 52 5f 45 4f 46 27 | 20 3e 20 27 75 75 70 6f |HAR_EOF'| > 'uupo|
|00002070| 6c 6c 2f 61 75 74 6f 70 | 6f 6c 6c 2e 38 63 27 20 |ll/autop|oll.8c' |
|00002080| 26 26 0a 2e 5c 22 0a 2e | 5c 22 09 40 28 23 29 61 |&&..\"..|\".@(#)a|
|00002090| 75 74 6f 70 6f 6c 6c 2e | 38 63 09 31 2e 34 20 28 |utopoll.|8c.1.4 (|
|000020a0| 69 6e 63 6f 61 68 65 29 | 20 35 2f 30 39 2f 31 39 |incoahe)| 5/09/19|
|000020b0| 39 33 0a 2e 5c 22 0a 2e | 54 48 20 41 55 54 4f 50 |93..\"..|TH AUTOP|
|000020c0| 4f 4c 4c 20 38 43 20 22 | 4d 61 79 20 30 39 2c 20 |OLL 8C "|May 09, |
|000020d0| 31 39 39 33 22 0a 2e 55 | 43 20 36 0a 2e 53 48 20 |1993"..U|C 6..SH |
|000020e0| 4e 41 4d 45 0a 61 75 74 | 6f 70 6f 6c 6c 20 5c 2d |NAME.aut|opoll \-|
|000020f0| 20 61 75 74 6f 6d 61 74 | 69 63 20 5c 73 2d 31 55 | automat|ic \s-1U|
|00002100| 55 43 50 5c 73 2b 31 20 | 66 69 6c 65 20 74 72 61 |UCP\s+1 |file tra|
|00002110| 6e 73 66 65 72 20 73 75 | 70 65 72 76 69 73 6f 72 |nsfer su|pervisor|
|00002120| 0a 2e 53 48 20 53 59 4e | 4f 50 53 49 53 0a 2e 42 |..SH SYN|OPSIS..B|
|00002130| 20 61 75 74 6f 70 6f 6c | 6c 0a 5b 0a 2e 42 49 20 | autopol|l.[..BI |
|00002140| 6f 70 74 69 6f 6e 73 0a | 5d 0a 2e 53 48 20 44 45 |options.|]..SH DE|
|00002150| 53 43 52 49 50 54 49 4f | 4e 0a 66 69 6c 65 20 74 |SCRIPTIO|N.file t|
|00002160| 72 61 6e 73 66 65 72 20 | 72 65 71 75 65 73 74 73 |ransfer |requests|
|00002170| 20 70 6c 61 63 65 64 20 | 62 79 0a 2e 49 52 20 75 | placed |by..IR u|
|00002180| 75 63 70 20 28 31 29 0a | 6f 72 0a 2e 49 52 20 75 |ucp (1).|or..IR u|
|00002190| 75 78 20 28 31 29 0a 61 | 72 65 20 68 61 6e 64 6c |ux (1).a|re handl|
|000021a0| 65 64 20 62 79 0a 2e 49 | 52 20 75 75 63 69 63 6f |ed by..I|R uucico|
|000021b0| 20 28 38 43 29 2e 0a 2e | 49 52 20 75 75 63 69 63 | (8C)...|IR uucic|
|000021c0| 6f 0a 77 69 6c 6c 20 62 | 65 20 69 6e 76 6f 6b 65 |o.will b|e invoke|
|000021d0| 64 20 69 6d 6d 65 64 69 | 61 74 65 6c 79 20 62 79 |d immedi|ately by|
|000021e0| 20 74 68 65 20 61 62 6f | 76 65 20 70 72 6f 67 72 | the abo|ve progr|
|000021f0| 61 6d 73 20 75 6e 6c 65 | 73 73 20 74 68 65 20 5c |ams unle|ss the \|
|00002200| 2d 72 0a 6f 70 74 69 6f | 6e 20 69 73 20 67 69 76 |-r.optio|n is giv|
|00002210| 65 6e 20 77 68 69 63 68 | 20 71 75 65 75 65 73 20 |en which| queues |
|00002220| 74 68 65 20 72 65 71 75 | 65 73 74 20 66 6f 72 20 |the requ|est for |
|00002230| 6c 61 74 65 72 20 70 72 | 6f 63 65 73 73 69 6e 67 |later pr|ocessing|
|00002240| 2e 20 54 68 69 73 0a 69 | 73 20 74 79 70 69 63 61 |. This.i|s typica|
|00002250| 6c 6c 79 20 64 6f 6e 65 | 20 62 79 20 65 6e 74 72 |lly done| by entr|
|00002260| 69 65 73 20 69 6e 20 74 | 68 65 0a 2e 49 52 20 63 |ies in t|he..IR c|
|00002270| 72 6f 6e 74 61 62 0a 74 | 61 62 6c 65 28 73 29 20 |rontab.t|able(s) |
|00002280| 77 68 69 63 68 20 77 69 | 6c 6c 20 69 6e 76 6f 6b |which wi|ll invok|
|00002290| 65 0a 2e 49 52 20 75 75 | 63 69 63 6f 2e 0a 2e 49 |e..IR uu|cico...I|
|000022a0| 52 20 75 75 63 69 63 6f | 0a 63 61 6e 20 61 6c 73 |R uucico|.can als|
|000022b0| 6f 20 62 65 20 69 6e 76 | 6f 6b 65 64 20 62 79 0a |o be inv|oked by.|
|000022c0| 2e 49 52 20 75 75 70 6f | 6c 6c 20 28 38 43 29 2e |.IR uupo|ll (8C).|
|000022d0| 0a 41 6c 6c 20 6d 65 74 | 68 6f 64 73 20 68 61 76 |.All met|hods hav|
|000022e0| 65 20 69 6e 20 63 6f 6d | 6d 6f 6e 20 74 68 61 74 |e in com|mon that|
|000022f0| 20 74 68 65 72 65 20 69 | 73 20 6e 6f 20 61 75 74 | there i|s no aut|
|00002300| 6f 6d 61 74 69 63 20 72 | 65 74 72 79 20 62 79 0a |omatic r|etry by.|
|00002310| 2e 49 52 20 75 75 63 69 | 63 6f 0a 69 74 73 65 6c |.IR uuci|co.itsel|
|00002320| 66 20 69 6e 20 63 61 73 | 65 20 74 68 65 20 63 61 |f in cas|e the ca|
|00002330| 6c 6c 20 66 61 69 6c 65 | 64 20 66 6f 72 20 73 6f |ll faile|d for so|
|00002340| 6d 65 20 72 65 61 73 6f | 6e 2e 0a 45 69 74 68 65 |me reaso|n..Eithe|
|00002350| 72 20 6d 61 6e 75 61 6c | 0a 69 6e 74 65 72 76 65 |r manual|.interve|
|00002360| 6e 74 69 6f 6e 20 6f 72 | 20 73 6f 6d 65 20 73 6f |ntion or| some so|
|00002370| 72 74 20 6f 66 20 73 63 | 72 69 70 74 73 20 6d 75 |rt of sc|ripts mu|
|00002380| 73 74 20 62 65 20 75 73 | 65 64 20 74 6f 20 6f 76 |st be us|ed to ov|
|00002390| 65 72 63 6f 6d 65 20 74 | 68 69 73 0a 6c 69 6d 69 |ercome t|his.limi|
|000023a0| 74 61 74 69 6f 6e 2e 0a | 2e 50 50 0a 2e 49 52 20 |tation..|.PP..IR |
|000023b0| 41 75 74 6f 70 6f 6c 6c | 0a 63 61 6e 20 62 65 20 |Autopoll|.can be |
|000023c0| 75 73 65 64 20 74 6f 20 | 61 75 74 6f 6d 61 74 65 |used to |automate|
|000023d0| 20 75 70 20 74 6f 20 61 | 20 63 65 72 74 61 69 6e | up to a| certain|
|000023e0| 20 64 65 67 72 65 65 20 | 74 68 65 20 74 61 73 6b | degree |the task|
|000023f0| 20 6f 66 20 72 65 73 63 | 68 65 64 75 6c 69 6e 67 | of resc|heduling|
|00002400| 0a 61 20 63 61 6c 6c 2e | 20 4e 6f 6e 65 20 6f 66 |.a call.| None of|
|00002410| 20 74 68 65 20 73 74 61 | 6e 64 61 72 64 20 70 72 | the sta|ndard pr|
|00002420| 6f 67 72 61 6d 73 20 61 | 6c 72 65 61 64 79 20 6d |ograms a|lready m|
|00002430| 65 6e 74 69 6f 6e 65 64 | 20 6e 65 65 64 20 74 6f |entioned| need to|
|00002440| 20 62 65 20 0a 6d 6f 64 | 69 66 69 65 64 20 74 6f | be .mod|ified to|
|00002450| 20 67 65 74 20 74 68 69 | 73 20 77 6f 72 6b 69 6e | get thi|s workin|
|00002460| 67 2e 20 41 6c 73 6f 20 | 6e 6f 74 20 72 65 63 6f |g. Also |not reco|
|00002470| 6d 6d 65 6e 64 65 64 20 | 28 73 65 65 20 42 55 47 |mmended |(see BUG|
|00002480| 53 20 73 65 63 74 69 6f | 6e 29 0a 2e 49 52 20 75 |S sectio|n)..IR u|
|00002490| 75 63 69 63 6f 0a 6d 61 | 79 20 62 65 20 61 6e 20 |ucico.ma|y be an |
|000024a0| 61 6c 69 61 73 20 74 6f | 20 0a 2e 49 52 20 61 75 |alias to| ..IR au|
|000024b0| 74 6f 70 6f 6c 6c 0a 61 | 73 20 61 6c 6c 20 61 72 |topoll.a|s all ar|
|000024c0| 67 75 6d 65 6e 74 73 20 | 70 61 73 73 65 64 20 74 |guments |passed t|
|000024d0| 6f 0a 2e 49 52 20 61 75 | 74 6f 70 6f 6c 6c 0a 77 |o..IR au|topoll.w|
|000024e0| 69 6c 6c 20 62 65 20 63 | 6f 70 69 65 64 20 76 65 |ill be c|opied ve|
|000024f0| 72 62 61 74 69 6d 20 74 | 6f 0a 2e 49 52 20 75 75 |rbatim t|o..IR uu|
|00002500| 63 69 63 6f 2e 0a 49 6e | 20 63 61 73 65 20 74 68 |cico..In| case th|
|00002510| 69 73 20 69 73 20 64 6f | 6e 65 20 62 79 20 6c 69 |is is do|ne by li|
|00002520| 6e 6b 20 6f 72 20 6f 74 | 68 65 72 20 6d 65 61 6e |nk or ot|her mean|
|00002530| 73 20 74 68 65 20 6f 72 | 69 67 69 6e 61 6c 0a 2e |s the or|iginal..|
|00002540| 49 20 75 75 63 69 6f 0a | 6d 75 73 74 20 73 74 69 |I uucio.|must sti|
|00002550| 6c 6c 20 62 65 20 61 76 | 61 69 6c 61 62 6c 65 20 |ll be av|ailable |
|00002560| 69 6e 20 61 20 64 69 72 | 65 63 74 6f 72 79 20 6f |in a dir|ectory o|
|00002570| 75 74 73 69 64 65 20 6f | 66 20 74 68 65 20 6e 6f |utside o|f the no|
|00002580| 72 6d 61 6c 20 73 65 61 | 72 63 68 20 70 61 74 68 |rmal sea|rch path|
|00002590| 0a 6f 74 68 65 72 77 69 | 73 65 0a 2e 49 20 61 75 |.otherwi|se..I au|
|000025a0| 74 6f 70 6f 6c 6c 0a 63 | 61 6e 27 74 20 64 6f 20 |topoll.c|an't do |
|000025b0| 77 68 61 74 20 69 74 27 | 73 20 69 6e 74 65 6e 64 |what it'|s intend|
|000025c0| 65 64 20 74 6f 20 64 6f | 20 61 6e 64 20 77 69 6c |ed to do| and wil|
|000025d0| 6c 20 66 6f 72 6d 20 61 | 20 6c 6f 6f 70 2e 0a 2e |l form a| loop...|
|000025e0| 50 50 0a 57 68 65 6e 0a | 2e 49 52 20 61 75 74 6f |PP.When.|.IR auto|
|000025f0| 70 6f 6c 6c 0a 69 73 20 | 63 61 6c 6c 65 64 20 74 |poll.is |called t|
|00002600| 68 72 65 20 77 69 6c 6c | 20 62 65 20 61 20 63 68 |hre will| be a ch|
|00002610| 65 63 6b 20 6f 6e 20 74 | 68 65 20 5c 2d 73 2c 20 |eck on t|he \-s, |
|00002620| 5c 2d 53 20 61 6e 64 20 | 5c 2d 66 20 6f 70 74 69 |\-S and |\-f opti|
|00002630| 6f 6e 20 74 6f 0a 73 65 | 65 20 77 68 65 74 68 65 |on to.se|e whethe|
|00002640| 72 20 74 68 69 73 0a 69 | 73 20 61 20 73 70 65 63 |r this.i|s a spec|
|00002650| 69 66 69 63 20 63 61 6c | 6c 20 6f 72 20 6e 6f 74 |ific cal|l or not|
|00002660| 2e 20 41 6c 73 6f 20 74 | 68 65 20 5c 2d 53 20 61 |. Also t|he \-S a|
|00002670| 6e 64 20 74 68 65 20 5c | 2d 66 20 6f 70 74 69 6f |nd the \|-f optio|
|00002680| 6e 20 6d 75 73 74 20 62 | 65 20 63 68 65 63 6b 65 |n must b|e checke|
|00002690| 64 0a 74 6f 20 64 65 74 | 65 72 6d 69 6e 65 20 74 |d.to det|ermine t|
|000026a0| 68 65 20 74 79 70 65 20 | 6f 66 20 63 61 6c 6c 3a |he type |of call:|
|000026b0| 20 68 6f 6e 6f 72 20 61 | 6e 79 20 69 6d 70 6f 73 | honor a|ny impos|
|000026c0| 65 64 20 77 61 69 74 20 | 66 6f 72 20 61 20 73 69 |ed wait |for a si|
|000026d0| 74 65 20 6f 72 20 6e 6f | 74 2e 0a 41 6e 79 20 63 |te or no|t..Any c|
|000026e0| 61 6c 6c 20 74 6f 20 6f | 75 72 73 65 6c 66 20 6f |all to o|urself o|
|000026f0| 72 20 74 6f 20 61 6e 20 | 75 6e 6b 6e 6f 77 6e 20 |r to an |unknown |
|00002700| 73 69 74 65 20 77 69 6c | 6c 20 62 65 20 72 65 66 |site wil|l be ref|
|00002710| 75 73 65 64 2e 20 54 68 | 65 20 6b 6e 6f 77 6e 20 |used. Th|e known |
|00002720| 73 69 74 65 73 0a 77 69 | 6c 6c 20 62 65 20 6f 62 |sites.wi|ll be ob|
|00002730| 74 61 69 6e 65 64 20 62 | 79 20 61 20 63 61 6c 6c |tained b|y a call|
|00002740| 20 74 6f 0a 2e 49 52 20 | 75 75 6e 61 6d 65 28 31 | to..IR |uuname(1|
|00002750| 29 2e 0a 41 6c 6c 20 6f | 74 68 65 72 20 6f 70 74 |)..All o|ther opt|
|00002760| 69 6f 6e 73 20 77 69 6c | 6c 20 6e 6f 74 20 62 65 |ions wil|l not be|
|00002770| 20 63 68 65 63 6b 65 64 | 20 69 6e 20 61 6e 79 20 | checked| in any |
|00002780| 77 61 79 2e 20 4e 65 78 | 74 20 74 6f 20 74 68 69 |way. Nex|t to thi|
|00002790| 73 0a 2e 49 52 20 75 75 | 63 69 63 6f 0a 69 73 20 |s..IR uu|cico.is |
|000027a0| 63 61 6c 6c 65 64 20 61 | 6e 64 20 74 68 65 20 65 |called a|nd the e|
|000027b0| 78 69 74 20 63 6f 64 65 | 20 69 73 20 63 68 65 63 |xit code| is chec|
|000027c0| 6b 65 64 20 66 6f 72 20 | 61 20 60 31 27 20 77 68 |ked for |a `1' wh|
|000027d0| 69 63 68 20 69 6e 64 69 | 63 61 74 65 73 20 74 68 |ich indi|cates th|
|000027e0| 61 74 20 74 68 65 20 63 | 61 6c 6c 0a 66 61 69 6c |at the c|all.fail|
|000027f0| 65 64 20 66 6f 72 20 73 | 6f 6d 65 20 72 65 61 73 |ed for s|ome reas|
|00002800| 6f 6e 20 77 68 61 74 73 | 6f 65 76 65 72 2e 20 41 |on whats|oever. A|
|00002810| 20 60 30 27 20 65 78 69 | 74 20 63 6f 64 65 20 77 | `0' exi|t code w|
|00002820| 69 6c 6c 20 62 65 20 69 | 6e 74 65 72 70 72 65 74 |ill be i|nterpret|
|00002830| 65 64 20 61 73 0a 61 20 | 73 75 63 63 65 73 73 20 |ed as.a |success |
|00002840| 61 6e 64 0a 2e 49 52 20 | 61 75 74 6f 70 6f 6c 6c |and..IR |autopoll|
|00002850| 0a 65 6e 64 73 20 69 6d | 6d 65 64 69 61 74 65 2e |.ends im|mediate.|
|00002860| 20 49 66 20 74 68 65 20 | 63 61 6c 6c 20 73 65 65 | If the |call see|
|00002870| 6d 73 20 74 6f 20 62 65 | 20 75 6e 73 75 63 63 65 |ms to be| unsucce|
|00002880| 73 73 66 75 6c 20 61 20 | 6e 65 77 20 63 61 6c 6c |ssful a |new call|
|00002890| 20 69 73 20 73 63 68 65 | 64 75 6c 65 64 0a 66 6f | is sche|duled.fo|
|000028a0| 72 20 61 6e 79 20 73 69 | 74 65 20 77 68 6f 73 65 |r any si|te whose|
|000028b0| 20 2e 53 74 61 74 75 73 | 20 66 69 6c 65 73 20 68 | .Status| files h|
|000028c0| 61 76 65 20 61 20 72 65 | 74 72 79 20 70 65 72 69 |ave a re|try peri|
|000028d0| 6f 64 20 67 72 65 61 74 | 65 72 20 74 68 61 6e 20 |od great|er than |
|000028e0| 30 2e 20 54 68 65 0a 72 | 65 74 72 79 20 77 69 6c |0. The.r|etry wil|
|000028f0| 6c 20 62 65 20 73 63 68 | 65 64 75 6c 65 64 20 62 |l be sch|eduled b|
|00002900| 79 20 6d 65 61 6e 73 20 | 6f 66 20 70 6c 61 63 69 |y means |of placi|
|00002910| 6e 67 20 61 6e 0a 2e 49 | 52 20 61 74 0a 6a 6f 62 |ng an..I|R at.job|
|00002920| 20 61 74 20 74 68 65 20 | 74 69 6d 65 20 6f 66 20 | at the |time of |
|00002930| 74 68 65 20 66 61 69 6c | 69 6e 67 20 63 61 6c 6c |the fail|ing call|
|00002940| 20 70 6c 75 73 20 61 6e | 79 20 77 61 69 74 20 74 | plus an|y wait t|
|00002950| 69 6d 65 20 67 69 76 65 | 6e 2e 20 46 6f 72 20 74 |ime give|n. For t|
|00002960| 68 6f 73 65 0a 73 69 74 | 65 73 20 74 68 61 74 20 |hose.sit|es that |
|00002970| 68 61 76 65 20 62 65 65 | 6e 20 63 61 6c 6c 65 64 |have bee|n called|
|00002980| 20 77 69 74 68 20 65 69 | 74 68 65 72 20 74 68 65 | with ei|ther the|
|00002990| 20 5c 2d 66 20 6f 72 20 | 5c 2d 53 20 6f 70 74 69 | \-f or |\-S opti|
|000029a0| 6f 6e 20 74 68 65 20 72 | 65 74 72 79 0a 74 69 6d |on the r|etry.tim|
|000029b0| 65 20 77 69 6c 6c 20 62 | 65 20 74 68 65 20 74 69 |e will b|e the ti|
|000029c0| 6d 65 20 6f 66 20 74 68 | 65 20 66 61 69 6c 69 6e |me of th|e failin|
|000029d0| 67 20 63 61 6c 6c 20 70 | 6c 75 73 20 31 32 30 20 |g call p|lus 120 |
|000029e0| 73 65 63 6f 6e 64 73 2e | 0a 2e 50 50 0a 49 6e 20 |seconds.|..PP.In |
|000029f0| 63 61 73 65 20 74 68 65 | 20 74 69 6d 65 20 63 61 |case the| time ca|
|00002a00| 6c 63 75 6c 61 74 65 64 | 20 66 72 6f 6d 20 74 68 |lculated| from th|
|00002a10| 65 20 76 61 6c 75 65 73 | 20 66 6f 75 6e 64 20 69 |e values| found i|
|00002a20| 6e 20 61 20 5c 2e 53 74 | 61 74 75 73 20 66 69 6c |n a \.St|atus fil|
|00002a30| 65 20 69 73 0a 6c 6f 77 | 65 72 20 74 68 61 6e 20 |e is.low|er than |
|00002a40| 74 68 65 20 63 75 72 72 | 65 6e 74 20 74 69 6d 65 |the curr|ent time|
|00002a50| 2c 20 74 68 65 20 63 75 | 72 72 65 6e 74 20 74 69 |, the cu|rrent ti|
|00002a60| 6d 65 20 70 6c 75 73 20 | 36 30 20 73 65 63 6f 6e |me plus |60 secon|
|00002a70| 64 73 20 77 69 6c 6c 20 | 62 65 20 74 61 6b 65 6e |ds will |be taken|
|00002a80| 0a 61 73 20 74 68 65 20 | 72 65 74 72 79 20 74 69 |.as the |retry ti|
|00002a90| 6d 65 2e 20 0a 2e 50 50 | 0a 41 20 73 69 74 65 20 |me. ..PP|.A site |
|00002aa0| 77 69 6c 6c 0a 2e 49 52 | 20 6e 6f 74 0a 62 65 20 |will..IR| not.be |
|00002ab0| 61 75 74 6f 6d 61 74 69 | 63 61 6c 6c 79 20 63 61 |automati|cally ca|
|00002ac0| 6c 6c 65 64 20 61 67 61 | 69 6e 20 69 66 20 6f 6e |lled aga|in if on|
|00002ad0| 65 20 6f 66 20 74 68 65 | 20 66 6f 6c 6c 6f 77 69 |e of the| followi|
|00002ae0| 6e 67 0a 63 6f 6e 64 69 | 74 69 6f 6e 73 20 69 73 |ng.condi|tions is|
|00002af0| 20 6d 65 74 3a 0a 2e 50 | 50 0a 5c 2d 0a 2e 49 52 | met:..P|P.\-..IR|
|00002b00| 20 75 75 63 69 63 6f 0a | 69 73 20 74 65 72 6d 69 | uucico.|is termi|
|00002b10| 6e 61 74 65 64 20 62 79 | 20 61 20 73 69 67 6e 61 |nated by| a signa|
|00002b20| 6c 0a 2e 50 50 0a 5c 2d | 20 65 69 74 68 65 72 20 |l..PP.\-| either |
|00002b30| 66 6f 72 6b 28 29 20 6f | 72 20 65 78 65 63 28 29 |fork() o|r exec()|
|00002b40| 20 66 61 69 6c 65 64 0a | 2e 50 50 0a 5c 2d 20 74 | failed.|.PP.\- t|
|00002b50| 68 65 0a 2e 49 52 20 61 | 74 0a 63 6f 6d 6d 61 6e |he..IR a|t.comman|
|00002b60| 64 20 66 61 69 6c 65 64 | 20 66 6f 72 20 61 6e 79 |d failed| for any|
|00002b70| 20 72 65 61 73 6f 6e 73 | 2e 0a 2e 50 50 0a 5c 2d | reasons|...PP.\-|
|00002b80| 20 69 66 20 6e 6f 20 77 | 61 69 74 20 73 68 6f 75 | if no w|ait shou|
|00002b90| 6c 64 20 62 65 20 68 6f | 6e 6f 72 65 64 20 61 6e |ld be ho|nored an|
|00002ba0| 64 20 74 68 65 20 72 65 | 74 72 79 20 74 69 6d 65 |d the re|try time|
|00002bb0| 20 69 73 20 66 6f 75 6e | 64 20 74 6f 20 62 65 20 | is foun|d to be |
|00002bc0| 7a 65 72 6f 2e 0a 28 74 | 68 69 73 20 6d 61 79 20 |zero..(t|his may |
|00002bd0| 69 6e 64 69 63 61 74 65 | 20 61 20 60 57 72 6f 6e |indicate| a `Wron|
|00002be0| 67 20 74 69 6d 65 20 74 | 6f 20 63 61 6c 6c 27 20 |g time t|o call' |
|00002bf0| 63 6f 6e 64 69 74 69 6f | 6e 2e 0a 2e 50 50 0a 54 |conditio|n...PP.T|
|00002c00| 68 65 72 65 20 61 72 65 | 20 6f 74 68 65 72 20 63 |here are| other c|
|00002c10| 69 72 63 75 6d 73 74 61 | 6e 63 65 73 20 74 68 61 |ircumsta|nces tha|
|00002c20| 74 20 6d 61 79 20 6c 65 | 61 64 20 74 6f 20 6e 6f |t may le|ad to no|
|00002c30| 74 20 72 65 73 63 68 65 | 64 75 6c 65 20 61 20 63 |t resche|dule a c|
|00002c40| 61 6c 6c 20 6f 72 0a 6e | 6f 74 20 74 6f 20 63 61 |all or.n|ot to ca|
|00002c50| 6c 6c 0a 2e 49 52 20 75 | 75 63 69 63 6f 0a 61 74 |ll..IR u|ucico.at|
|00002c60| 20 61 6c 6c 2c 20 61 6c | 6c 20 6f 66 20 77 68 69 | all, al|l of whi|
|00002c70| 63 68 20 73 68 6f 75 6c | 64 20 62 65 20 61 63 63 |ch shoul|d be acc|
|00002c80| 6f 6d 70 61 6e 69 65 64 | 20 62 79 20 28 61 29 20 |ompanied| by (a) |
|00002c90| 73 65 6c 66 20 65 78 70 | 6c 61 6e 61 74 6f 72 79 |self exp|lanatory|
|00002ca0| 20 6d 65 73 73 61 67 65 | 28 73 29 2e 0a 2e 53 48 | message|(s)...SH|
|00002cb0| 20 42 55 47 53 0a 5c 2d | 20 69 6e 76 61 6c 69 64 | BUGS.\-| invalid|
|00002cc0| 20 6f 70 74 69 6f 6e 73 | 20 77 69 6c 6c 20 6d 61 | options| will ma|
|00002cd0| 6b 65 0a 2e 49 52 20 75 | 75 63 69 63 6f 0a 66 61 |ke..IR u|ucico.fa|
|00002ce0| 69 6c 2e 20 54 68 65 20 | 65 78 69 74 20 63 6f 64 |il. The |exit cod|
|00002cf0| 65 20 66 6f 72 20 74 68 | 69 73 20 74 79 70 65 20 |e for th|is type |
|00002d00| 69 73 20 74 68 65 20 73 | 61 6d 65 20 61 73 20 66 |is the s|ame as f|
|00002d10| 6f 72 20 61 6e 79 20 6f | 74 68 65 72 20 66 61 69 |or any o|ther fai|
|00002d20| 6c 75 72 65 3b 20 74 68 | 69 73 0a 63 61 6e 20 72 |lure; th|is.can r|
|00002d30| 65 73 63 68 65 64 75 6c | 65 20 74 68 65 20 63 61 |eschedul|e the ca|
|00002d40| 6c 6c 20 6f 76 65 72 20 | 61 6e 64 20 6f 76 65 72 |ll over |and over|
|00002d50| 20 61 67 61 69 6e 20 6f | 72 20 6e 65 76 65 72 2e | again o|r never.|
|00002d60| 0a 2e 50 50 0a 5c 2d 20 | 0a 2e 49 52 20 61 75 74 |..PP.\- |..IR aut|
|00002d70| 6f 70 6f 6c 6c 0a 6d 61 | 79 20 6e 6f 74 20 77 6f |opoll.ma|y not wo|
|00002d80| 72 6b 20 61 73 20 65 78 | 70 65 63 74 65 64 20 77 |rk as ex|pected w|
|00002d90| 68 65 6e 20 63 61 6c 6c | 65 64 20 77 69 74 68 20 |hen call|ed with |
|00002da0| 6f 70 74 69 6f 6e 73 20 | 6f 74 68 65 72 20 74 68 |options |other th|
|00002db0| 61 6e 20 5c 2d 72 31 2c | 20 5c 2d 73 2c 0a 5c 2d |an \-r1,| \-s,.\-|
|00002dc0| 53 20 6f 72 20 5c 2d 66 | 2e 0a 2e 50 50 0a 5c 2d |S or \-f|...PP.\-|
|00002dd0| 20 61 20 72 65 73 63 68 | 65 64 75 6c 65 64 20 63 | a resch|eduled c|
|00002de0| 61 6c 6c 20 6d 61 79 20 | 66 61 69 6c 20 77 69 74 |all may |fail wit|
|00002df0| 68 20 60 77 72 6f 6e 67 | 20 74 69 6d 65 20 74 6f |h `wrong| time to|
|00002e00| 20 63 61 6c 6c 27 20 74 | 68 65 20 73 65 63 6f 6e | call' t|he secon|
|00002e10| 64 20 74 69 6d 65 0a 62 | 75 74 20 77 69 6c 6c 20 |d time.b|ut will |
|00002e20| 62 65 20 72 65 73 63 68 | 65 64 75 6c 65 64 20 61 |be resch|eduled a|
|00002e30| 67 61 69 6e 2e 20 54 68 | 65 20 74 69 6d 65 73 20 |gain. Th|e times |
|00002e40| 74 6f 20 63 61 6c 6c 20 | 77 6f 6e 27 74 20 62 65 |to call |won't be|
|00002e50| 20 63 68 65 63 6b 65 64 | 20 62 79 0a 2e 49 52 20 | checked| by..IR |
|00002e60| 61 75 74 6f 70 6f 6c 6c | 0a 61 6e 64 20 74 68 65 |autopoll|.and the|
|00002e70| 20 2e 53 74 61 74 75 73 | 20 66 69 6c 65 20 6d 61 | .Status| file ma|
|00002e80| 79 20 6e 6f 74 20 69 6e | 64 69 63 61 74 65 20 74 |y not in|dicate t|
|00002e90| 68 69 73 20 69 6e 20 63 | 61 73 65 20 74 68 65 20 |his in c|ase the |
|00002ea0| 5c 2d 63 20 6f 70 74 69 | 6f 6e 20 69 73 20 67 69 |\-c opti|on is gi|
|00002eb0| 76 65 6e 2e 0a 2e 50 50 | 0a 5c 2d 20 69 6e 20 63 |ven...PP|.\- in c|
|00002ec0| 61 73 65 20 74 68 65 20 | 2e 2e 2e 5f 44 49 52 20 |ase the |..._DIR |
|00002ed0| 70 6f 69 6e 74 73 20 74 | 6f 20 61 6e 20 69 6e 76 |points t|o an inv|
|00002ee0| 61 6c 69 64 20 66 69 6c | 65 20 61 20 60 42 75 73 |alid fil|e a `Bus|
|00002ef0| 20 65 72 72 6f 72 27 20 | 6d 79 20 70 6f 70 20 75 | error' |my pop u|
|00002f00| 70 0a 64 75 72 69 6e 67 | 20 74 68 65 20 60 65 78 |p.during| the `ex|
|00002f10| 65 63 27 20 63 61 6c 6c | 2e 0a 2e 50 50 0a 5c 2d |ec' call|...PP.\-|
|00002f20| 20 74 68 65 20 60 63 68 | 61 74 2d 74 69 6d 65 6f | the `ch|at-timeo|
|00002f30| 75 74 27 20 76 61 6c 75 | 65 20 6d 61 79 20 68 61 |ut' valu|e may ha|
|00002f40| 76 65 20 74 6f 20 62 65 | 20 69 6e 63 72 65 61 73 |ve to be| increas|
|00002f50| 65 64 20 77 68 65 6e 20 | 75 73 69 6e 67 0a 2e 49 |ed when |using..I|
|00002f60| 52 20 61 75 74 6f 70 6f | 6c 6c 2e 0a 41 6e 20 69 |R autopo|ll..An i|
|00002f70| 6e 64 69 63 61 74 69 6f | 6e 20 74 6f 20 64 6f 20 |ndicatio|n to do |
|00002f80| 74 68 61 74 20 69 73 20 | 74 68 61 74 20 74 68 65 |that is |that the|
|00002f90| 20 63 61 6c 6c 20 66 61 | 69 6c 73 20 73 68 6f 72 | call fa|ils shor|
|00002fa0| 74 20 61 66 74 65 72 20 | 60 43 4f 4e 4e 45 43 54 |t after |`CONNECT|
|00002fb0| 27 0a 68 61 73 20 62 65 | 65 6e 20 72 65 63 65 69 |'.has be|en recei|
|00002fc0| 76 65 64 20 77 69 74 68 | 20 60 54 69 6d 65 20 6f |ved with| `Time o|
|00002fd0| 75 74 20 69 6e 20 63 68 | 61 74 20 73 63 72 69 70 |ut in ch|at scrip|
|00002fe0| 74 27 2e 0a 2e 50 50 0a | 5c 2d 20 74 68 65 20 73 |t'...PP.|\- the s|
|00002ff0| 69 74 65 20 6e 61 6d 65 | 73 20 67 69 76 65 6e 20 |ite name|s given |
|00003000| 77 69 6c 6c 20 62 65 20 | 63 68 65 63 6b 65 64 20 |will be |checked |
|00003010| 61 67 69 6e 73 74 20 74 | 68 65 20 6f 75 74 70 75 |aginst t|he outpu|
|00003020| 74 20 6f 66 0a 2e 49 20 | 75 75 6e 61 6d 65 0a 77 |t of..I |uuname.w|
|00003030| 69 74 68 6f 75 74 20 61 | 6e 79 20 61 6c 69 61 73 |ithout a|ny alias|
|00003040| 20 65 78 70 61 6e 73 69 | 6f 6e 20 64 6f 6e 65 2e | expansi|on done.|
|00003050| 0a 2e 50 50 0a 5c 2d 20 | 74 68 65 20 74 65 78 74 |..PP.\- |the text|
|00003060| 20 73 74 72 69 6e 67 73 | 20 77 68 69 74 68 69 6e | strings| whithin|
|00003070| 20 74 68 65 20 5c 2e 53 | 74 61 74 75 73 20 66 69 | the \.S|tatus fi|
|00003080| 6c 65 73 20 77 69 6c 6c | 20 6e 6f 74 20 62 65 20 |les will| not be |
|00003090| 75 73 65 64 20 74 6f 20 | 64 65 74 65 63 74 0a 61 |used to |detect.a|
|000030a0| 20 66 61 69 6c 69 6e 67 | 20 63 61 6c 6c 2e 20 0a | failing| call. .|
|000030b0| 2e 53 48 20 46 49 4c 45 | 53 0a 2e 6e 66 0a 2f 75 |.SH FILE|S..nf./u|
|000030c0| 73 72 2f 6c 6f 63 61 6c | 2f 6c 69 62 2f 75 75 63 |sr/local|/lib/uuc|
|000030d0| 70 09 55 55 43 50 20 69 | 6e 74 65 72 6e 61 6c 20 |p.UUCP i|nternal |
|000030e0| 75 74 69 6c 69 74 69 65 | 73 0a 2f 75 73 72 2f 6c |utilitie|s./usr/l|
|000030f0| 69 62 2f 75 75 63 70 0a | 2f 75 73 72 2f 6c 6f 63 |ib/uucp.|/usr/loc|
|00003100| 61 6c 2f 62 69 6e 09 09 | 55 55 43 50 20 69 6e 74 |al/bin..|UUCP int|
|00003110| 65 72 6e 61 6c 20 75 74 | 69 6c 69 74 69 65 73 0a |ernal ut|ilities.|
|00003120| 2f 75 73 72 2f 62 69 6e | 0a 2f 75 73 72 2f 73 70 |/usr/bin|./usr/sp|
|00003130| 6f 6f 6c 2f 75 75 63 70 | 2f 2e 53 74 61 74 75 73 |ool/uucp|/.Status|
|00003140| 2f 09 53 74 61 74 75 73 | 20 66 69 6c 65 73 20 66 |/.Status| files f|
|00003150| 6f 72 20 65 61 63 68 20 | 73 69 74 65 0a 2f 75 73 |or each |site./us|
|00003160| 72 2f 73 70 6f 6f 6c 2f | 75 75 63 70 2f 09 55 55 |r/spool/|uucp/.UU|
|00003170| 43 50 20 73 70 6f 6f 6c | 20 61 72 65 61 2e 20 6f |CP spool| area. o|
|00003180| 6e 65 20 6f 66 20 69 74 | 73 20 73 75 62 2d 0a 58 |ne of it|s sub-.X|
|00003190| 09 09 09 09 64 69 72 65 | 63 74 6f 72 69 65 73 20 |....dire|ctories |
|000031a0| 77 69 6c 6c 20 68 6f 6c | 64 20 74 68 65 20 6e 75 |will hol|d the nu|
|000031b0| 6c 6c 20 6a 6f 62 73 2e | 0a 2f 74 6d 70 2f 70 6f |ll jobs.|./tmp/po|
|000031c0| 6c 6c 2e 6c 6f 67 09 09 | 54 68 69 73 20 66 69 6c |ll.log..|This fil|
|000031d0| 65 20 69 73 20 70 72 65 | 73 65 6e 74 20 6f 6e 6c |e is pre|sent onl|
|000031e0| 79 20 69 66 20 61 75 74 | 6f 70 6f 6c 6c 0a 58 09 |y if aut|opoll.X.|
|000031f0| 09 09 09 68 61 73 20 62 | 65 65 6e 20 63 6f 6d 70 |...has b|een comp|
|00003200| 69 6c 65 64 20 74 6f 20 | 70 6c 61 63 65 20 74 68 |iled to |place th|
|00003210| 65 20 6d 65 73 73 61 67 | 65 73 0a 58 09 09 09 09 |e messag|es.X....|
|00003220| 69 6e 74 6f 20 61 20 66 | 69 6c 65 2e 20 4f 74 68 |into a f|ile. Oth|
|00003230| 65 72 77 69 73 65 20 61 | 6c 6c 20 6d 65 73 73 61 |erwise a|ll messa|
|00003240| 67 65 73 20 77 69 6c 6c | 0a 58 09 09 09 09 67 6f |ges will|.X....go|
|00003250| 20 74 6f 20 73 74 64 65 | 72 72 2e 20 54 68 65 20 | to stde|rr. The |
|00003260| 64 69 72 65 63 74 6f 72 | 79 20 61 73 20 77 65 6c |director|y as wel|
|00003270| 6c 20 61 73 0a 58 09 09 | 09 09 74 68 65 20 6e 61 |l as.X..|..the na|
|00003280| 6d 65 20 6d 61 79 20 62 | 65 20 64 69 66 66 65 72 |me may b|e differ|
|00003290| 65 6e 74 2e 20 0a 2e 66 | 69 0a 2e 53 48 20 53 45 |ent. ..f|i..SH SE|
|000032a0| 45 20 41 4c 53 4f 0a 75 | 75 63 70 28 31 43 29 2c |E ALSO.u|ucp(1C),|
|000032b0| 20 75 75 78 28 31 43 29 | 2c 20 75 75 63 69 63 6f | uux(1C)|, uucico|
|000032c0| 28 38 43 29 2c 20 75 75 | 70 6f 6c 6c 28 38 43 29 |(8C), uu|poll(8C)|
|000032d0| 2c 20 75 75 6e 61 6d 65 | 28 31 43 29 2c 20 73 6f |, uuname|(1C), so|
|000032e0| 72 74 28 31 29 2c 20 75 | 6e 69 71 28 31 29 2c 0a |rt(1), u|niq(1),.|
|000032f0| 61 74 28 31 29 0a 53 48 | 41 52 5f 45 4f 46 0a 63 |at(1).SH|AR_EOF.c|
|00003300| 68 6d 6f 64 20 30 34 34 | 34 20 75 75 70 6f 6c 6c |hmod 044|4 uupoll|
|00003310| 2f 61 75 74 6f 70 6f 6c | 6c 2e 38 63 20 7c 7c 0a |/autopol|l.8c ||.|
|00003320| 65 63 68 6f 20 27 72 65 | 73 74 6f 72 65 20 6f 66 |echo 're|store of|
|00003330| 20 75 75 70 6f 6c 6c 2f | 61 75 74 6f 70 6f 6c 6c | uupoll/|autopoll|
|00003340| 2e 38 63 20 66 61 69 6c | 65 64 27 0a 57 63 5f 63 |.8c fail|ed'.Wc_c|
|00003350| 3d 22 60 77 63 20 2d 63 | 20 3c 20 27 75 75 70 6f |="`wc -c| < 'uupo|
|00003360| 6c 6c 2f 61 75 74 6f 70 | 6f 6c 6c 2e 38 63 27 60 |ll/autop|oll.8c'`|
|00003370| 22 0a 74 65 73 74 20 34 | 37 31 38 20 2d 65 71 20 |".test 4|718 -eq |
|00003380| 22 24 57 63 5f 63 22 20 | 7c 7c 0a 09 65 63 68 6f |"$Wc_c" |||..echo|
|00003390| 20 27 75 75 70 6f 6c 6c | 2f 61 75 74 6f 70 6f 6c | 'uupoll|/autopol|
|000033a0| 6c 2e 38 63 3a 20 6f 72 | 69 67 69 6e 61 6c 20 73 |l.8c: or|iginal s|
|000033b0| 69 7a 65 20 34 37 31 38 | 2c 20 63 75 72 72 65 6e |ize 4718|, curren|
|000033c0| 74 20 73 69 7a 65 27 20 | 22 24 57 63 5f 63 22 0a |t size' |"$Wc_c".|
|000033d0| 66 69 0a 23 20 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |fi.# ===|========|
|000033e0| 3d 3d 20 75 75 70 6f 6c | 6c 2f 61 75 74 6f 70 6f |== uupol|l/autopo|
|000033f0| 6c 6c 2e 63 20 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |ll.c ===|========|
|00003400| 3d 3d 3d 0a 69 66 20 74 | 65 73 74 20 2d 66 20 27 |===.if t|est -f '|
|00003410| 75 75 70 6f 6c 6c 2f 61 | 75 74 6f 70 6f 6c 6c 2e |uupoll/a|utopoll.|
|00003420| 63 27 20 2d 61 20 58 22 | 24 31 22 20 21 3d 20 58 |c' -a X"|$1" != X|
|00003430| 22 2d 63 22 3b 20 74 68 | 65 6e 0a 09 65 63 68 6f |"-c"; th|en..echo|
|00003440| 20 27 78 20 2d 20 73 6b | 69 70 70 69 6e 67 20 75 | 'x - sk|ipping u|
|00003450| 75 70 6f 6c 6c 2f 61 75 | 74 6f 70 6f 6c 6c 2e 63 |upoll/au|topoll.c|
|00003460| 20 28 46 69 6c 65 20 61 | 6c 72 65 61 64 79 20 65 | (File a|lready e|
|00003470| 78 69 73 74 73 29 27 0a | 65 6c 73 65 0a 65 63 68 |xists)'.|else.ech|
|00003480| 6f 20 27 78 20 2d 20 65 | 78 74 72 61 63 74 69 6e |o 'x - e|xtractin|
|00003490| 67 20 75 75 70 6f 6c 6c | 2f 61 75 74 6f 70 6f 6c |g uupoll|/autopol|
|000034a0| 6c 2e 63 20 28 54 65 78 | 74 29 27 0a 73 65 64 20 |l.c (Tex|t)'.sed |
|000034b0| 27 73 2f 5e 58 2f 2f 27 | 20 3c 3c 20 27 53 48 41 |'s/^X//'| << 'SHA|
|000034c0| 52 5f 45 4f 46 27 20 3e | 20 27 75 75 70 6f 6c 6c |R_EOF' >| 'uupoll|
|000034d0| 2f 61 75 74 6f 70 6f 6c | 6c 2e 63 27 20 26 26 0a |/autopol|l.c' &&.|
|000034e0| 2f 2a 20 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |/* -----|--------|
|000034f0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00003500| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00003510| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00003520| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2a 0a |--------|------*.|
|00003530| 58 0a 58 20 20 20 4e 61 | 6d 65 3a 20 20 20 20 20 |X.X Na|me: |
|00003540| 61 75 74 6f 70 6f 6c 6c | 0a 58 0a 58 20 20 20 41 |autopoll|.X.X A|
|00003550| 75 74 68 6f 72 3a 20 20 | 20 4b 6c 61 75 73 20 44 |uthor: | Klaus D|
|00003560| 61 68 6c 65 6e 62 75 72 | 67 20 3c 6b 64 62 75 72 |ahlenbur|g <kdbur|
|00003570| 67 40 69 6e 63 6f 61 68 | 65 2e 68 61 6e 73 65 2e |g@incoah|e.hanse.|
|00003580| 64 65 3e 0a 58 0a 58 20 | 20 20 53 74 61 74 75 73 |de>.X.X | Status|
|00003590| 3a 20 20 20 50 75 62 6c | 69 63 20 64 6f 6d 61 69 |: Publ|ic domai|
|000035a0| 6e 0a 58 0a 58 20 20 20 | 43 6f 70 79 72 69 67 68 |n.X.X |Copyrigh|
|000035b0| 74 3a 20 6e 6f 6e 65 3b | 20 63 6c 61 69 6d 69 6e |t: none;| claimin|
|000035c0| 67 20 69 74 20 74 6f 20 | 62 65 20 79 6f 75 72 20 |g it to |be your |
|000035d0| 77 6f 72 6b 20 77 69 6c | 6c 20 61 64 76 65 72 73 |work wil|l advers|
|000035e0| 6c 79 20 61 66 66 65 63 | 74 0a 58 20 20 20 20 20 |ly affec|t.X |
|000035f0| 20 20 20 20 20 20 20 20 | 20 79 6f 75 72 20 69 6d | | your im|
|00003600| 61 67 65 20 74 6f 20 62 | 65 20 61 20 67 6f 6f 64 |age to b|e a good|
|00003610| 20 70 72 6f 67 72 61 6d | 6d 65 72 2e 0a 58 0a 58 | program|mer..X.X|
|00003620| 20 20 20 46 75 6e 63 74 | 69 6f 6e 3a 20 41 75 74 | Funct|ion: Aut|
|00003630| 6f 70 6f 6c 6c 20 6d 61 | 79 20 62 65 20 63 61 6c |opoll ma|y be cal|
|00003640| 6c 65 64 20 6a 75 73 74 | 20 61 73 20 75 75 63 69 |led just| as uuci|
|00003650| 63 6f 20 69 73 20 63 61 | 6c 6c 65 64 2e 20 54 68 |co is ca|lled. Th|
|00003660| 65 20 64 69 66 66 65 72 | 65 6e 63 65 0a 58 20 20 |e differ|ence.X |
|00003670| 20 20 20 20 20 20 20 20 | 20 20 20 69 73 20 74 68 | | is th|
|00003680| 61 74 20 61 75 74 6f 70 | 6f 6c 6c 20 77 69 6c 6c |at autop|oll will|
|00003690| 20 63 61 6c 6c 20 75 75 | 63 69 63 6f 20 61 6e 64 | call uu|cico and|
|000036a0| 20 69 66 20 74 68 65 20 | 72 65 74 75 72 6e 20 63 | if the |return c|
|000036b0| 6f 64 65 20 69 73 0a 58 | 20 20 20 20 20 20 20 20 |ode is.X| |
|000036c0| 20 20 20 20 20 6e 6f 74 | 20 7a 65 72 6f 20 61 20 | not| zero a |
|000036d0| 63 68 65 63 6b 20 69 73 | 20 6d 61 64 65 20 6f 6e |check is| made on|
|000036e0| 20 74 68 65 20 73 74 61 | 74 75 73 20 66 69 6c 65 | the sta|tus file|
|000036f0| 73 20 74 6f 20 73 65 65 | 20 77 68 69 63 68 20 73 |s to see| which s|
|00003700| 69 74 65 27 73 0a 58 20 | 20 20 20 20 20 20 20 20 |ite's.X | |
|00003710| 20 20 20 20 63 61 6c 6c | 20 66 61 69 6c 65 64 2e | call| failed.|
|00003720| 20 54 68 6f 73 65 20 73 | 69 74 65 73 20 77 69 6c | Those s|ites wil|
|00003730| 6c 20 62 65 20 63 61 6c | 6c 65 64 20 61 67 61 69 |l be cal|led agai|
|00003740| 6e 20 61 74 20 74 68 61 | 74 20 74 69 6d 65 20 66 |n at tha|t time f|
|00003750| 6f 75 6e 64 0a 58 20 20 | 20 20 20 20 20 20 20 20 |ound.X | |
|00003760| 20 20 20 69 6e 20 74 68 | 65 20 73 74 61 74 75 73 | in th|e status|
|00003770| 20 66 69 6c 65 20 70 6c | 75 73 20 61 6e 79 20 69 | file pl|us any i|
|00003780| 6d 70 6f 73 65 64 20 77 | 61 69 74 2e 20 54 68 65 |mposed w|ait. The|
|00003790| 20 6e 65 78 74 20 63 61 | 6c 6c 20 77 69 6c 6c 20 | next ca|ll will |
|000037a0| 62 65 0a 58 20 20 20 20 | 20 20 20 20 20 20 20 20 |be.X | |
|000037b0| 20 73 63 68 65 64 75 6c | 65 64 20 76 69 61 20 61 | schedul|ed via a|
|000037c0| 6e 20 61 74 20 6a 6f 62 | 20 77 68 69 63 68 20 69 |n at job| which i|
|000037d0| 6e 20 74 75 72 6e 20 69 | 73 20 68 61 6e 64 6c 65 |n turn i|s handle|
|000037e0| 64 20 62 79 20 63 72 6f | 6e 2e 20 0a 58 20 20 20 |d by cro|n. .X |
|000037f0| 20 20 20 20 20 20 20 20 | 20 20 41 74 72 75 6e 20 | | Atrun |
|00003800| 64 65 70 65 6e 64 73 20 | 6f 6e 20 74 68 65 20 73 |depends |on the s|
|00003810| 63 68 65 64 75 6c 69 6e | 67 20 67 72 61 6e 75 6c |chedulin|g granul|
|00003820| 61 72 69 74 79 20 6f 66 | 20 63 72 6f 6e 20 73 6f |arity of| cron so|
|00003830| 20 74 68 65 0a 58 20 20 | 20 20 20 20 20 20 20 20 | the.X | |
|00003840| 20 20 20 61 63 74 75 61 | 6c 20 74 69 6d 65 73 20 | actua|l times |
|00003850| 6d 61 79 20 62 65 20 6c | 61 74 65 72 20 74 68 61 |may be l|ater tha|
|00003860| 6e 20 70 6c 61 6e 6e 65 | 64 2e 20 20 0a 58 20 20 |n planne|d. .X |
|00003870| 20 20 20 20 20 20 20 20 | 20 20 20 41 75 74 6f 70 | | Autop|
|00003880| 6f 6c 6c 20 77 69 6c 6c | 20 63 68 65 63 6b 20 74 |oll will| check t|
|00003890| 68 65 20 6f 70 74 69 6f | 6e 73 20 2d 66 20 61 6e |he optio|ns -f an|
|000038a0| 64 20 2d 73 20 28 2d 53 | 29 20 61 73 20 77 65 6c |d -s (-S|) as wel|
|000038b0| 6c 20 61 73 20 74 68 65 | 20 6e 61 6d 65 0a 58 20 |l as the| name.X |
|000038c0| 20 20 20 20 20 20 20 20 | 20 20 20 20 6f 66 20 74 | | of t|
|000038d0| 68 65 20 73 69 74 65 20 | 70 61 73 73 65 64 2e 20 |he site |passed. |
|000038e0| 41 6c 6c 20 6f 74 68 65 | 72 20 6f 70 74 69 6f 6e |All othe|r option|
|000038f0| 73 20 77 69 6c 6c 20 62 | 65 20 70 61 73 73 65 64 |s will b|e passed|
|00003900| 20 75 6e 63 68 65 63 6b | 65 64 2e 0a 58 20 20 20 | uncheck|ed..X |
|00003910| 20 20 20 20 20 20 20 20 | 20 20 54 68 65 20 2d 66 | | The -f|
|00003920| 20 61 6e 64 20 2d 53 20 | 6f 70 74 69 6f 6e 73 20 | and -S |options |
|00003930| 77 69 6c 6c 20 69 6e 64 | 69 63 61 74 65 20 74 6f |will ind|icate to|
|00003940| 20 61 75 74 6f 70 6f 6c | 6c 20 74 68 61 74 20 61 | autopol|l that a|
|00003950| 6e 79 20 77 61 69 74 0a | 58 20 20 20 20 20 20 20 |ny wait.|X |
|00003960| 20 20 20 20 20 20 74 6f | 20 63 61 6c 6c 20 61 20 | to| call a |
|00003970| 73 69 74 65 20 73 68 6f | 75 6c 64 20 62 65 20 69 |site sho|uld be i|
|00003980| 67 6e 6f 72 65 64 3b 20 | 69 66 20 74 68 65 20 63 |gnored; |if the c|
|00003990| 61 6c 6c 20 66 61 69 6c | 73 20 74 68 65 20 6e 65 |all fail|s the ne|
|000039a0| 78 74 0a 58 20 20 20 20 | 20 20 20 20 20 20 20 20 |xt.X | |
|000039b0| 20 63 61 6c 6c 20 74 6f | 20 74 68 6f 73 65 20 73 | call to| those s|
|000039c0| 69 74 65 73 20 77 69 6c | 6c 20 62 65 20 61 74 20 |ites wil|l be at |
|000039d0| 74 68 65 20 63 75 72 72 | 65 6e 74 20 74 69 6d 65 |the curr|ent time|
|000039e0| 20 70 6c 75 73 20 31 32 | 30 20 73 65 63 73 2e 0a | plus 12|0 secs..|
|000039f0| 58 20 20 20 20 20 20 20 | 20 20 20 20 20 20 57 68 |X | Wh|
|00003a00| 65 6e 20 74 68 65 20 74 | 69 6d 65 20 66 6f 75 6e |en the t|ime foun|
|00003a10| 64 20 70 6c 75 73 20 61 | 6e 79 20 77 61 69 74 20 |d plus a|ny wait |
|00003a20| 65 76 61 6c 75 61 74 65 | 73 20 74 6f 20 61 20 74 |evaluate|s to a t|
|00003a30| 69 6d 65 20 74 68 61 74 | 20 0a 58 20 20 20 20 20 |ime that| .X |
|00003a40| 20 20 20 20 20 20 20 20 | 70 61 73 73 65 64 20 61 | |passed a|
|00003a50| 6c 72 65 61 64 79 20 74 | 68 65 20 6e 65 78 74 20 |lready t|he next |
|00003a60| 63 61 6c 6c 20 77 69 6c | 6c 20 62 65 20 74 68 65 |call wil|l be the|
|00003a70| 20 63 75 72 72 65 6e 74 | 20 74 69 6d 65 20 70 6c | current| time pl|
|00003a80| 75 73 20 36 30 0a 58 20 | 20 20 20 20 20 20 20 20 |us 60.X | |
|00003a90| 20 20 20 20 73 65 63 73 | 2e 20 54 68 65 20 6e 61 | secs|. The na|
|00003aa0| 6d 65 20 6f 66 20 74 68 | 65 20 73 69 74 65 20 69 |me of th|e site i|
|00003ab0| 66 20 67 69 76 65 6e 20 | 6d 75 73 74 20 62 65 20 |f given |must be |
|00003ac0| 61 20 76 61 6c 69 64 20 | 6f 6e 65 20 61 6e 64 20 |a valid |one and |
|00003ad0| 6e 6f 74 0a 58 20 20 20 | 20 20 20 20 20 20 20 20 |not.X | |
|00003ae0| 20 20 74 68 65 20 68 6f | 73 74 20 69 74 73 65 6c | the ho|st itsel|
|00003af0| 66 20 6f 74 68 65 72 77 | 69 73 65 20 69 74 20 77 |f otherw|ise it w|
|00003b00| 69 6c 6c 20 62 65 20 69 | 67 6e 6f 72 65 64 2e 0a |ill be i|gnored..|
|00003b10| 58 20 20 0a 58 20 20 20 | 43 61 6c 6c 3a 20 20 20 |X .X |Call: |
|00003b20| 20 20 61 75 74 6f 70 6f | 6c 6c 20 5b 20 6f 70 74 | autopo|ll [ opt|
|00003b30| 69 6f 6e 73 20 5d 0a 58 | 0a 58 20 20 20 20 20 20 |ions ].X|.X |
|00003b40| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00003b50| 61 6c 6c 20 6f 70 74 69 | 6f 6e 20 74 68 61 74 20 |all opti|on that |
|00003b60| 61 70 70 6c 79 20 74 6f | 20 75 75 63 69 63 6f 20 |apply to| uucico |
|00003b70| 6d 61 79 20 62 65 20 67 | 69 76 65 6e 20 61 6e 64 |may be g|iven and|
|00003b80| 0a 58 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |.X | |
|00003b90| 20 20 20 20 20 20 20 20 | 77 69 6c 6c 20 62 65 20 | |will be |
|00003ba0| 70 61 73 73 65 64 20 76 | 65 72 62 61 74 69 6d 2e |passed v|erbatim.|
|00003bb0| 20 53 65 65 20 6d 61 6e | 20 75 75 63 69 63 6f 28 | See man| uucico(|
|00003bc0| 38 29 2e 0a 58 20 20 20 | 20 20 20 20 20 20 20 20 |8)..X | |
|00003bd0| 20 20 0a 58 20 20 20 45 | 6e 76 69 72 6f 6e 6d 65 | .X E|nvironme|
|00003be0| 6e 74 3a 20 4e 65 58 54 | 20 32 2e 31 2b 2c 20 54 |nt: NeXT| 2.1+, T|
|00003bf0| 61 79 6c 6f 72 20 55 55 | 43 50 2d 31 2e 30 34 2b |aylor UU|CP-1.04+|
|00003c00| 0a 58 20 20 20 0a 58 20 | 20 20 49 2f 4f 3a 20 20 |.X .X | I/O: |
|00003c10| 20 20 20 20 20 20 20 73 | 74 64 69 6e 3a 20 75 6e | s|tdin: un|
|00003c20| 75 73 65 64 2e 0a 58 20 | 20 20 20 20 20 20 20 20 |used..X | |
|00003c30| 20 20 20 20 20 20 20 73 | 74 64 6f 75 74 3a 20 75 | s|tdout: u|
|00003c40| 73 65 64 20 6f 6e 6c 79 | 20 77 68 65 6e 20 41 4c |sed only| when AL|
|00003c50| 4f 47 5f 44 49 52 20 69 | 73 20 64 65 66 69 6e 65 |OG_DIR i|s define|
|00003c60| 64 20 61 6e 64 20 74 68 | 65 20 66 69 6c 65 0a 58 |d and th|e file.X|
|00003c70| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00003c80| 20 20 20 20 20 20 20 20 | 63 61 6e 27 74 20 62 65 | |can't be|
|00003c90| 20 6f 70 65 6e 65 64 2e | 20 49 74 20 77 69 6c 6c | opened.| It will|
|00003ca0| 20 62 65 20 61 20 73 69 | 6e 67 6c 65 20 6d 65 73 | be a si|ngle mes|
|00003cb0| 73 61 67 65 20 74 6f 20 | 74 65 6c 6c 0a 58 20 20 |sage to |tell.X |
|00003cc0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00003cd0| 20 20 20 20 20 20 6a 75 | 73 74 20 74 68 61 74 20 | ju|st that |
|00003ce0| 61 6e 64 20 74 68 65 20 | 72 75 6e 20 69 73 20 61 |and the |run is a|
|00003cf0| 62 6f 72 74 65 64 2e 0a | 58 20 20 20 20 20 20 20 |borted..|X |
|00003d00| 20 20 20 20 20 20 20 20 | 20 73 74 64 65 72 72 3a | | stderr:|
|00003d10| 20 61 6c 6c 20 6d 65 73 | 73 61 67 65 73 20 67 6f | all mes|sages go|
|00003d20| 20 68 65 72 65 2e 0a 58 | 20 20 20 20 20 20 20 20 | here..X| |
|00003d30| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00003d40| 49 66 20 41 4c 4f 47 5f | 44 49 52 20 69 73 20 64 |If ALOG_|DIR is d|
|00003d50| 65 66 69 6e 65 64 20 28 | 73 65 65 20 63 6f 6e 66 |efined (|see conf|
|00003d60| 2e 68 29 20 61 6c 6c 20 | 6d 65 73 73 61 67 65 73 |.h) all |messages|
|00003d70| 20 77 69 6c 6c 0a 58 20 | 20 20 20 20 20 20 20 20 | will.X | |
|00003d80| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 62 | | b|
|00003d90| 65 20 61 70 70 65 6e 64 | 65 64 20 74 6f 20 61 20 |e append|ed to a |
|00003da0| 66 69 6c 65 20 61 75 74 | 6f 70 6f 6c 6c 2e 6d 73 |file aut|opoll.ms|
|00003db0| 67 6c 6f 67 20 69 6e 20 | 74 68 61 74 20 0a 58 20 |glog in |that .X |
|00003dc0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00003dd0| 20 20 20 20 20 20 20 64 | 69 72 65 63 74 6f 72 79 | d|irectory|
|00003de0| 3b 20 74 68 65 20 66 69 | 6c 65 20 77 69 6c 6c 20 |; the fi|le will |
|00003df0| 62 65 20 63 72 65 61 74 | 65 64 20 61 75 74 6f 6d |be creat|ed autom|
|00003e00| 61 74 69 63 61 6c 6c 79 | 20 69 66 0a 58 20 20 20 |atically| if.X |
|00003e10| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00003e20| 20 20 20 20 20 6e 65 63 | 65 73 73 61 72 79 3b 20 | nec|essary; |
|00003e30| 61 20 72 65 64 69 72 65 | 63 74 69 6f 6e 20 69 73 |a redire|ction is|
|00003e40| 20 74 68 65 6e 20 6e 6f | 20 6c 6f 6e 67 65 72 20 | then no| longer |
|00003e50| 70 6f 73 73 69 62 6c 65 | 2e 20 0a 58 20 20 20 20 |possible|. .X |
|00003e60| 20 20 20 20 20 20 20 20 | 20 20 20 20 4e 65 65 64 | | Need|
|00003e70| 73 20 61 63 63 65 73 73 | 20 74 6f 20 2e 53 74 61 |s access| to .Sta|
|00003e80| 74 75 73 20 66 69 6c 65 | 73 20 28 73 65 65 20 43 |tus file|s (see C|
|00003e90| 6f 6d 6d 65 6e 74 73 20 | 6c 61 74 65 72 20 6f 6e |omments |later on|
|00003ea0| 29 2e 0a 58 0a 58 20 20 | 20 43 61 6c 6c 65 64 20 |)..X.X | Called |
|00003eb0| 50 72 6f 67 72 61 6d 73 | 3a 20 73 6f 72 74 2c 20 |Programs|: sort, |
|00003ec0| 75 6e 69 71 2c 20 75 75 | 63 69 63 6f 2c 20 75 75 |uniq, uu|cico, uu|
|00003ed0| 6e 61 6d 65 2c 20 61 74 | 0a 58 0a 58 20 20 20 43 |name, at|.X.X C|
|00003ee0| 6f 6d 70 69 6c 65 3a 20 | 20 20 20 20 6e 6f 20 73 |ompile: | no s|
|00003ef0| 70 65 63 69 61 6c 20 6f | 70 74 69 6f 6e 73 20 61 |pecial o|ptions a|
|00003f00| 72 65 20 6e 65 65 64 65 | 64 2e 20 43 6f 6d 70 69 |re neede|d. Compi|
|00003f10| 6c 65 64 20 77 69 74 68 | 20 67 63 63 20 32 2e 33 |led with| gcc 2.3|
|00003f20| 2e 33 20 2d 4f 32 2e 0a | 58 20 20 20 20 20 20 20 |.3 -O2..|X |
|00003f30| 20 20 20 20 20 20 20 20 | 20 43 6f 6d 70 69 6c 65 | | Compile|
|00003f40| 20 77 69 74 68 20 74 68 | 65 20 73 75 70 70 6c 69 | with th|e suppli|
|00003f50| 65 64 20 63 63 20 6d 69 | 67 68 74 20 70 72 6f 64 |ed cc mi|ght prod|
|00003f60| 75 63 65 20 65 72 72 6f | 6e 65 6f 75 73 20 63 6f |uce erro|neous co|
|00003f70| 64 65 0a 58 20 20 20 20 | 20 20 20 20 20 20 20 20 |de.X | |
|00003f80| 20 20 20 20 66 6f 72 20 | 74 68 65 20 63 68 65 63 | for |the chec|
|00003f90| 6b 20 6f 70 74 69 6f 6e | 73 20 73 77 69 74 63 68 |k option|s switch|
|00003fa0| 20 63 61 73 65 20 27 73 | 27 20 63 6f 64 65 3a 20 | case 's|' code: |
|00003fb0| 74 68 65 20 62 72 65 61 | 6b 20 69 6e 73 69 64 65 |the brea|k inside|
|00003fc0| 0a 58 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |.X | |
|00003fd0| 20 20 74 68 65 20 66 69 | 72 73 74 20 69 66 20 28 | the fi|rst if (|
|00003fe0| 2e 2e 29 20 7b 2e 2e 2e | 20 62 72 65 61 6b 7d 20 |..) {...| break} |
|00003ff0| 69 73 20 69 67 6e 6f 72 | 65 64 2e 0a 58 0a 58 20 |is ignor|ed..X.X |
|00004000| 20 20 43 6f 6d 6d 65 6e | 74 73 3a 20 20 20 20 2d | Commen|ts: -|
|00004010| 20 73 68 6f 75 6c 64 20 | 72 75 6e 20 73 65 74 75 | should |run setu|
|00004020| 69 64 20 55 55 43 50 20 | 6f 72 20 77 68 61 74 65 |id UUCP |or whate|
|00004030| 76 65 72 20 75 73 65 72 | 69 64 20 69 73 20 6e 65 |ver user|id is ne|
|00004040| 63 65 73 73 61 72 79 20 | 74 6f 0a 58 20 20 20 20 |cessary |to.X |
|00004050| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 61 63 | | ac|
|00004060| 63 65 73 73 20 28 52 44 | 4f 4e 4c 59 29 20 74 68 |cess (RD|ONLY) th|
|00004070| 65 20 2e 53 74 61 74 75 | 73 20 66 69 6c 65 73 20 |e .Statu|s files |
|00004080| 61 6e 64 20 74 6f 20 72 | 75 6e 20 74 68 65 20 70 |and to r|un the p|
|00004090| 72 6f 67 72 61 6d 73 0a | 58 20 20 20 20 20 20 20 |rograms.|X |
|000040a0| 20 20 20 20 20 20 20 20 | 20 20 20 6e 61 6d 65 64 | | named|
|000040b0| 20 75 6e 64 65 72 20 22 | 43 61 6c 6c 65 64 20 50 | under "|Called P|
|000040c0| 72 6f 67 72 61 6d 73 22 | 20 61 62 6f 76 65 2e 0a |rograms"| above..|
|000040d0| 58 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |X | |
|000040e0| 20 2d 20 4e 6f 20 61 6c | 69 61 73 20 65 78 70 61 | - No al|ias expa|
|000040f0| 6e 73 69 6f 6e 20 69 73 | 20 64 6f 6e 65 20 6f 6e |nsion is| done on|
|00004100| 20 74 68 65 20 67 69 76 | 65 6e 20 6e 61 6d 65 73 | the giv|en names|
|00004110| 20 66 6f 72 20 74 68 65 | 0a 58 20 20 20 20 20 20 | for the|.X |
|00004120| 20 20 20 20 20 20 20 20 | 20 20 20 20 63 68 65 63 | | chec|
|00004130| 6b 20 61 67 61 69 6e 73 | 74 20 75 75 6e 61 6d 65 |k agains|t uuname|
|00004140| 27 73 20 6f 75 74 70 75 | 74 2e 2e 0a 58 20 20 20 |'s outpu|t...X |
|00004150| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 2d 20 49 | | - I|
|00004160| 6e 76 61 6c 69 64 20 61 | 72 67 75 6d 65 6e 74 73 |nvalid a|rguments|
|00004170| 20 77 69 6c 6c 20 79 69 | 65 6c 64 20 69 6e 20 61 | will yi|eld in a|
|00004180| 6e 20 65 78 69 74 20 63 | 6f 64 65 20 3e 20 30 20 |n exit c|ode > 0 |
|00004190| 61 73 20 64 6f 0a 58 20 | 20 20 20 20 20 20 20 20 |as do.X | |
|000041a0| 20 20 20 20 20 20 20 20 | 20 22 6e 6f 72 6d 61 6c | | "normal|
|000041b0| 22 20 66 61 69 6c 75 72 | 65 73 2e 20 49 74 20 6d |" failur|es. It m|
|000041c0| 61 79 20 74 68 65 72 65 | 66 6f 72 65 20 68 61 70 |ay there|fore hap|
|000041d0| 70 65 6e 20 74 68 61 74 | 20 61 20 73 69 74 65 0a |pen that| a site.|
|000041e0| 58 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |X | |
|000041f0| 20 20 20 69 73 20 63 61 | 6c 6c 65 64 20 61 74 20 | is ca|lled at |
|00004200| 74 68 65 20 69 6e 74 65 | 72 76 61 6c 73 20 77 69 |the inte|rvals wi|
|00004210| 74 68 20 74 68 65 20 73 | 61 6d 65 20 69 6e 76 61 |th the s|ame inva|
|00004220| 6c 69 64 20 61 72 67 75 | 6d 65 6e 74 73 2e 0a 58 |lid argu|ments..X|
|00004230| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00004240| 2d 20 22 57 72 6f 6e 67 | 20 74 69 6d 65 20 74 6f |- "Wrong| time to|
|00004250| 20 63 61 6c 6c 22 20 69 | 73 20 6e 6f 74 20 68 61 | call" i|s not ha|
|00004260| 6e 64 6c 65 64 20 70 72 | 6f 70 65 72 6c 79 20 61 |ndled pr|operly a|
|00004270| 6e 64 20 6d 61 79 20 0a | 58 20 20 20 20 20 20 20 |nd may .|X |
|00004280| 20 20 20 20 20 20 20 20 | 20 20 20 63 61 6c 6c 20 | | call |
|00004290| 74 68 65 20 73 69 74 65 | 20 61 74 20 74 68 65 20 |the site| at the |
|000042a0| 69 6e 74 65 72 76 61 6c | 73 20 75 6e 74 69 6c 20 |interval|s until |
|000042b0| 74 68 65 20 74 69 6d 65 | 20 62 61 6e 20 69 73 20 |the time| ban is |
|000042c0| 6c 69 66 74 65 64 2e 0a | 58 20 20 20 20 20 20 20 |lifted..|X |
|000042d0| 20 20 20 20 20 20 20 20 | 20 2d 20 68 75 6d 61 6e | | - human|
|000042e0| 20 61 63 74 69 6f 6e 20 | 69 73 20 6e 65 63 65 73 | action |is neces|
|000042f0| 73 61 72 79 20 61 73 20 | 77 65 20 63 61 6e 27 74 |sary as |we can't|
|00004300| 20 64 69 73 74 69 6e 67 | 75 69 73 68 20 62 65 74 | disting|uish bet|
|00004310| 77 65 65 6e 0a 58 20 20 | 20 20 20 20 20 20 20 20 |ween.X | |
|00004320| 20 20 20 20 20 20 20 20 | 22 6e 6f 72 6d 61 6c 22 | |"normal"|
|00004330| 20 66 61 69 6c 75 72 65 | 73 20 61 6e 64 20 22 65 | failure|s and "e|
|00004340| 72 72 6f 72 73 22 20 73 | 75 63 68 20 61 73 20 77 |rrors" s|uch as w|
|00004350| 72 6f 6e 67 20 70 61 73 | 73 77 6f 72 64 2c 0a 58 |rong pas|sword,.X|
|00004360| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00004370| 20 20 6e 75 6d 62 65 72 | 20 74 6f 20 64 69 61 6c | number| to dial|
|00004380| 20 65 74 63 2e 20 54 68 | 65 20 6c 6f 67 73 20 73 | etc. Th|e logs s|
|00004390| 68 6f 75 6c 64 20 62 65 | 20 63 68 65 63 6b 65 64 |hould be| checked|
|000043a0| 20 70 65 72 69 6f 64 69 | 63 61 6c 6c 79 2e 0a 58 | periodi|cally..X|
|000043b0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000043c0| 2d 20 69 66 20 43 49 43 | 4f 5f 44 49 52 20 70 6f |- if CIC|O_DIR po|
|000043d0| 69 6e 74 73 20 74 6f 20 | 61 20 6e 6f 6e 20 65 78 |ints to |a non ex|
|000043e0| 69 73 74 65 6e 74 20 70 | 72 6f 67 72 61 6d 20 74 |istent p|rogram t|
|000043f0| 68 65 20 72 75 6e 20 6d | 61 79 0a 58 20 20 20 20 |he run m|ay.X |
|00004400| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 65 6e | | en|
|00004410| 64 20 77 69 74 68 20 73 | 69 67 6e 61 6c 20 31 30 |d with s|ignal 10|
|00004420| 3a 20 42 75 73 20 45 72 | 72 6f 72 2e 0a 58 20 20 |: Bus Er|ror..X |
|00004430| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 2d 20 | | - |
|00004440| 69 73 20 68 61 73 20 62 | 65 65 6e 20 6f 62 73 65 |is has b|een obse|
|00004450| 72 76 65 64 20 74 68 61 | 74 20 75 75 63 69 63 6f |rved tha|t uucico|
|00004460| 20 77 69 6c 6c 20 74 69 | 6d 65 20 6f 75 74 20 77 | will ti|me out w|
|00004470| 69 74 68 20 22 44 69 61 | 6c 0a 58 20 20 20 20 20 |ith "Dia|l.X |
|00004480| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 66 61 69 | | fai|
|00004490| 6c 65 64 22 20 77 68 65 | 6e 20 63 61 6c 6c 65 64 |led" whe|n called|
|000044a0| 20 76 69 61 20 61 75 74 | 6f 70 6f 6c 6c 3b 20 73 | via aut|opoll; s|
|000044b0| 65 74 74 69 6e 67 20 63 | 68 61 74 2d 74 69 6d 65 |etting c|hat-time|
|000044c0| 6f 75 74 20 74 6f 0a 58 | 20 20 20 20 20 20 20 20 |out to.X| |
|000044d0| 20 20 20 20 20 20 20 20 | 20 20 76 61 6c 75 65 20 | | value |
|000044e0| 6f 66 20 34 30 20 63 75 | 72 65 64 20 74 68 61 74 |of 40 cu|red that|
|000044f0| 20 70 72 6f 62 6c 65 6d | 2e 0a 58 20 20 20 20 20 | problem|..X |
|00004500| 20 20 20 20 20 20 20 20 | 20 20 20 2d 20 6e 6f 20 | | - no |
|00004510| 72 65 73 63 68 65 64 75 | 6c 69 6e 67 20 69 73 20 |reschedu|ling is |
|00004520| 64 6f 6e 65 20 69 6e 20 | 63 61 73 65 20 75 75 63 |done in |case uuc|
|00004530| 69 63 6f 20 66 61 69 6c | 73 20 61 6e 64 20 74 68 |ico fail|s and th|
|00004540| 69 73 0a 58 20 20 20 20 | 20 20 20 20 20 20 20 20 |is.X | |
|00004550| 20 20 20 20 20 20 69 73 | 20 6e 6f 74 20 72 65 70 | is| not rep|
|00004560| 6f 72 74 65 64 20 69 6e | 20 74 68 65 20 2e 53 74 |orted in| the .St|
|00004570| 61 74 75 73 20 66 69 6c | 65 2c 20 6f 6e 65 20 73 |atus fil|e, one s|
|00004580| 68 6f 75 6c 64 20 63 68 | 65 63 6b 0a 58 20 20 20 |hould ch|eck.X |
|00004590| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 74 | | t|
|000045a0| 68 65 20 75 75 63 69 63 | 6f 20 6c 6f 67 3b 20 74 |he uucic|o log; t|
|000045b0| 68 69 73 20 69 73 20 74 | 6f 20 74 68 65 20 66 61 |his is t|o the fa|
|000045c0| 63 74 20 74 68 61 74 20 | 61 75 74 6f 70 6f 6c 6c |ct that |autopoll|
|000045d0| 20 77 69 6c 6c 0a 58 20 | 20 20 20 20 20 20 20 20 | will.X | |
|000045e0| 20 20 20 20 20 20 20 20 | 20 6e 6f 74 20 73 63 61 | | not sca|
|000045f0| 6e 20 74 68 65 20 75 75 | 63 69 63 6f 20 6c 6f 67 |n the uu|cico log|
|00004600| 2e 0a 2a 2f 0a 58 0a 58 | 0a 23 69 66 20 21 64 65 |..*/.X.X|.#if !de|
|00004610| 66 69 6e 65 64 28 6c 69 | 6e 74 29 0a 73 74 61 74 |fined(li|nt).stat|
|00004620| 69 63 20 63 68 61 72 20 | 72 63 73 69 64 5b 5d 20 |ic char |rcsid[] |
|00004630| 3d 20 22 24 49 64 3a 20 | 61 75 74 6f 70 6f 6c 6c |= "$Id: |autopoll|
|00004640| 2e 63 2c 76 20 32 2e 38 | 20 31 39 39 34 2f 30 34 |.c,v 2.8| 1994/04|
|00004650| 2f 31 34 20 31 37 3a 32 | 32 3a 35 34 20 6b 64 62 |/14 17:2|2:54 kdb|
|00004660| 75 72 67 20 52 65 6c 20 | 24 22 3b 0a 23 65 6e 64 |urg Rel |$";.#end|
|00004670| 69 66 20 2f 2a 20 6e 6f | 74 20 6c 69 6e 74 20 2a |if /* no|t lint *|
|00004680| 2f 0a 58 0a 2f 2a 20 24 | 4c 6f 67 3a 20 61 75 74 |/.X./* $|Log: aut|
|00004690| 6f 70 6f 6c 6c 2e 63 2c | 76 20 24 0a 58 20 2a 20 |opoll.c,|v $.X * |
|000046a0| 52 65 76 69 73 69 6f 6e | 20 32 2e 38 20 20 31 39 |Revision| 2.8 19|
|000046b0| 39 34 2f 30 34 2f 31 34 | 20 20 31 37 3a 32 32 3a |94/04/14| 17:22:|
|000046c0| 35 34 20 20 6b 64 62 75 | 72 67 0a 58 20 2a 20 63 |54 kdbu|rg.X * c|
|000046d0| 6f 72 72 65 63 74 65 64 | 20 6d 69 73 73 70 65 6c |orrected| misspel|
|000046e0| 6c 65 64 20 41 54 5f 4f | 50 54 49 4f 4e 0a 58 20 |led AT_O|PTION.X |
|000046f0| 2a 0a 58 20 2a 20 52 65 | 76 69 73 69 6f 6e 20 32 |*.X * Re|vision 2|
|00004700| 2e 37 20 20 31 39 39 34 | 2f 30 34 2f 31 31 20 20 |.7 1994|/04/11 |
|00004710| 32 30 3a 31 35 3a 34 38 | 20 20 6b 64 62 75 72 67 |20:15:48| kdburg|
|00004720| 0a 58 20 2a 20 6d 61 6a | 6f 72 20 72 65 77 6f 72 |.X * maj|or rewor|
|00004730| 6b 20 64 6f 6e 65 3b 20 | 68 6f 6e 6f 72 20 6e 6f |k done; |honor no|
|00004740| 77 20 73 6f 6d 65 20 6f | 66 20 74 68 65 20 6e 65 |w some o|f the ne|
|00004750| 77 20 6f 70 74 69 6f 6e | 20 74 61 68 74 20 63 61 |w option| taht ca|
|00004760| 6d 65 20 77 69 74 68 0a | 58 20 2a 20 75 75 63 70 |me with.|X * uucp|
|00004770| 2d 31 2e 30 35 0a 58 20 | 2a 0a 58 20 2a 20 52 65 |-1.05.X |*.X * Re|
|00004780| 76 69 73 69 6f 6e 20 32 | 2e 36 20 20 31 39 39 34 |vision 2|.6 1994|
|00004790| 2f 30 33 2f 32 36 20 20 | 31 37 3a 34 30 3a 33 30 |/03/26 |17:40:30|
|000047a0| 20 20 6b 64 62 75 72 67 | 0a 58 20 2a 20 61 64 64 | kdburg|.X * add|
|000047b0| 65 64 20 73 75 70 70 6f | 72 74 20 66 6f 72 20 55 |ed suppo|rt for U|
|000047c0| 4e 41 4d 45 5f 44 49 52 | 3b 20 63 6c 65 61 6e 75 |NAME_DIR|; cleanu|
|000047d0| 70 20 6f 66 20 73 6f 6d | 65 20 63 6f 64 65 3b 20 |p of som|e code; |
|000047e0| 61 64 6a 75 73 74 65 64 | 20 63 6f 64 65 20 61 66 |adjusted| code af|
|000047f0| 74 65 72 0a 58 20 2a 20 | 6f 62 74 61 69 6e 69 6e |ter.X * |obtainin|
|00004800| 67 20 73 69 74 65 6e 61 | 6d 65 73 20 76 69 61 20 |g sitena|mes via |
|00004810| 70 6f 70 65 6e 28 29 0a | 58 20 2a 0a 58 20 2a 20 |popen().|X *.X * |
|00004820| 52 65 76 69 73 69 6f 6e | 20 32 2e 35 20 20 31 39 |Revision| 2.5 19|
|00004830| 39 33 2f 30 37 2f 30 37 | 20 20 31 36 3a 34 39 3a |93/07/07| 16:49:|
|00004840| 30 32 20 20 6b 64 62 75 | 72 67 0a 58 20 2a 20 77 |02 kdbu|rg.X * w|
|00004850| 68 65 6e 20 75 73 65 64 | 20 69 6e 74 65 72 61 63 |hen used| interac|
|00004860| 74 69 76 6c 79 20 6f 6e | 6c 79 20 74 68 65 20 73 |tivly on|ly the s|
|00004870| 74 61 72 74 20 6d 73 67 | 20 69 73 20 70 75 74 20 |tart msg| is put |
|00004880| 69 6e 74 6f 20 74 68 65 | 20 6d 73 67 2d 6c 6f 67 |into the| msg-log|
|00004890| 0a 58 20 2a 20 73 6f 20 | 66 61 72 20 64 65 66 69 |.X * so |far defi|
|000048a0| 6e 65 64 20 28 55 55 4c | 4f 47 29 0a 58 20 2a 0a |ned (UUL|OG).X *.|
|000048b0| 58 20 2a 20 52 65 76 69 | 73 69 6f 6e 20 32 2e 34 |X * Revi|sion 2.4|
|000048c0| 20 20 31 39 39 33 2f 30 | 36 2f 32 36 20 20 31 36 | 1993/0|6/26 16|
|000048d0| 3a 31 37 3a 35 31 20 20 | 6b 64 62 75 72 67 0a 58 |:17:51 |kdburg.X|
|000048e0| 20 2a 20 74 68 65 20 2d | 53 20 6f 70 74 69 6f 6e | * the -|S option|
|000048f0| 20 77 61 73 6e 27 74 20 | 70 72 6f 70 61 67 61 74 | wasn't |propagat|
|00004900| 65 64 20 74 6f 20 74 68 | 65 20 63 6f 6d 6d 61 6e |ed to th|e comman|
|00004910| 64 20 70 61 73 73 65 64 | 20 74 6f 20 74 68 65 20 |d passed| to the |
|00004920| 61 74 20 70 67 6d 0a 58 | 20 2a 0a 58 20 2a 20 52 |at pgm.X| *.X * R|
|00004930| 65 76 69 73 69 6f 6e 20 | 32 2e 33 20 20 31 39 39 |evision |2.3 199|
|00004940| 33 2f 30 35 2f 32 35 20 | 20 31 32 3a 30 35 3a 30 |3/05/25 | 12:05:0|
|00004950| 31 20 20 6b 64 62 75 72 | 67 0a 58 20 2a 20 61 64 |1 kdbur|g.X * ad|
|00004960| 64 65 64 20 65 72 72 6f | 72 20 63 68 65 63 6b 20 |ded erro|r check |
|00004970| 6f 6e 20 67 65 74 74 69 | 6d 65 6f 66 64 61 79 3b |on getti|meofday;|
|00004980| 20 61 64 64 65 64 20 63 | 6f 6d 6d 65 6e 74 20 69 | added c|omment i|
|00004990| 6e 20 74 68 65 20 6e 6f | 74 65 20 73 65 63 74 69 |n the no|te secti|
|000049a0| 6f 6e 3b 0a 58 20 2a 20 | 6d 69 6e 6f 72 20 63 68 |on;.X * |minor ch|
|000049b0| 61 6e 67 65 73 20 6e 6f | 74 20 61 66 66 65 63 74 |anges no|t affect|
|000049c0| 69 6f 6e 20 63 6f 64 65 | 0a 58 20 2a 0a 58 20 2a |ion code|.X *.X *|
|000049d0| 20 52 65 76 69 73 69 6f | 6e 20 32 2e 32 20 20 31 | Revisio|n 2.2 1|
|000049e0| 39 39 33 2f 30 35 2f 31 | 37 20 20 32 30 3a 34 37 |993/05/1|7 20:47|
|000049f0| 3a 30 35 20 20 6b 64 62 | 75 72 67 0a 58 20 2a 20 |:05 kdb|urg.X * |
|00004a00| 65 78 65 63 75 74 69 6f | 6e 20 6f 66 20 61 74 20 |executio|n of at |
|00004a10| 63 6d 64 20 61 6c 73 6f | 20 6f 6b 20 61 6c 77 61 |cmd also| ok alwa|
|00004a20| 79 73 20 73 61 69 64 20 | 66 61 69 6c 65 64 2e 2e |ys said |failed..|
|00004a30| 2e 0a 58 20 2a 0a 58 20 | 2a 20 52 65 76 69 73 69 |..X *.X |* Revisi|
|00004a40| 6f 6e 20 32 2e 31 20 20 | 31 39 39 33 2f 30 35 2f |on 2.1 |1993/05/|
|00004a50| 31 36 20 20 32 31 3a 34 | 39 3a 31 33 20 20 6b 64 |16 21:4|9:13 kd|
|00004a60| 62 75 72 67 0a 58 20 2a | 20 63 68 61 6e 67 65 64 |burg.X *| changed|
|00004a70| 20 65 78 69 74 28 29 20 | 74 6f 20 5f 65 78 69 74 | exit() |to _exit|
|00004a80| 28 29 20 69 6e 20 63 61 | 73 65 20 74 68 65 20 65 |() in ca|se the e|
|00004a90| 78 65 63 20 66 61 69 6c | 73 20 77 69 74 68 69 6e |xec fail|s within|
|00004aa0| 20 63 68 69 6c 64 0a 58 | 20 2a 0a 58 20 2a 20 52 | child.X| *.X * R|
|00004ab0| 65 76 69 73 69 6f 6e 20 | 32 2e 30 20 20 31 39 39 |evision |2.0 199|
|00004ac0| 33 2f 30 35 2f 31 36 20 | 20 31 34 3a 31 32 3a 30 |3/05/16 | 14:12:0|
|00004ad0| 35 20 20 6b 64 62 75 72 | 67 0a 58 20 2a 20 69 6e |5 kdbur|g.X * in|
|00004ae0| 69 74 69 61 6c 20 72 65 | 76 69 73 69 6f 6e 0a 58 |itial re|vision.X|
|00004af0| 20 2a 20 2a 2f 0a 58 0a | 23 64 65 66 69 6e 65 20 | * */.X.|#define |
|00004b00| 43 41 54 20 31 36 0a 23 | 64 65 66 69 6e 65 20 53 |CAT 16.#|define S|
|00004b10| 45 56 45 52 45 20 38 0a | 23 64 65 66 69 6e 65 20 |EVERE 8.|#define |
|00004b20| 57 41 52 4e 49 4e 47 20 | 34 0a 23 64 65 66 69 6e |WARNING |4.#defin|
|00004b30| 65 20 4f 4b 20 30 0a 2f | 2a 20 42 6f 6f 6c 65 61 |e OK 0./|* Boolea|
|00004b40| 6e 20 74 79 70 65 73 20 | 20 20 2a 2f 0a 74 79 70 |n types | */.typ|
|00004b50| 65 64 65 66 20 69 6e 74 | 20 62 6f 6f 6c 3b 0a 23 |edef int| bool;.#|
|00004b60| 75 6e 64 65 66 20 54 52 | 55 45 0a 23 75 6e 64 65 |undef TR|UE.#unde|
|00004b70| 66 20 46 41 4c 53 45 0a | 23 64 65 66 69 6e 65 20 |f FALSE.|#define |
|00004b80| 54 52 55 45 20 28 31 29 | 0a 23 64 65 66 69 6e 65 |TRUE (1)|.#define|
|00004b90| 20 46 41 4c 53 45 20 28 | 30 29 0a 58 0a 23 69 6e | FALSE (|0).X.#in|
|00004ba0| 63 6c 75 64 65 20 22 63 | 6f 6e 66 2e 68 22 0a 23 |clude "c|onf.h".#|
|00004bb0| 69 6e 63 6c 75 64 65 20 | 3c 73 74 64 69 6f 2e 68 |include |<stdio.h|
|00004bc0| 3e 0a 23 69 6e 63 6c 75 | 64 65 20 3c 73 74 72 69 |>.#inclu|de <stri|
|00004bd0| 6e 67 2e 68 3e 0a 23 69 | 6e 63 6c 75 64 65 20 3c |ng.h>.#i|nclude <|
|00004be0| 65 72 72 6e 6f 2e 68 3e | 0a 23 69 6e 63 6c 75 64 |errno.h>|.#includ|
|00004bf0| 65 20 3c 63 74 79 70 65 | 2e 68 3e 0a 23 69 6e 63 |e <ctype|.h>.#inc|
|00004c00| 6c 75 64 65 20 3c 70 77 | 64 2e 68 3e 0a 23 69 6e |lude <pw|d.h>.#in|
|00004c10| 63 6c 75 64 65 20 3c 75 | 6e 69 73 74 64 2e 68 3e |clude <u|nistd.h>|
|00004c20| 0a 23 69 6e 63 6c 75 64 | 65 20 3c 73 79 73 2f 66 |.#includ|e <sys/f|
|00004c30| 69 6c 65 2e 68 3e 0a 23 | 69 6e 63 6c 75 64 65 20 |ile.h>.#|include |
|00004c40| 3c 73 79 73 2f 74 69 6d | 65 2e 68 3e 0a 23 69 6e |<sys/tim|e.h>.#in|
|00004c50| 63 6c 75 64 65 20 3c 73 | 79 73 2f 70 61 72 61 6d |clude <s|ys/param|
|00004c60| 2e 68 3e 0a 23 69 6e 63 | 6c 75 64 65 20 3c 73 79 |.h>.#inc|lude <sy|
|00004c70| 73 2f 77 61 69 74 2e 68 | 3e 0a 58 0a 23 69 66 64 |s/wait.h|>.X.#ifd|
|00004c80| 65 66 20 41 4c 4f 47 5f | 46 49 4c 45 0a 58 20 20 |ef ALOG_|FILE.X |
|00004c90| 73 74 61 74 69 63 20 63 | 68 61 72 20 4d 73 67 5f |static c|har Msg_|
|00004ca0| 4c 6f 67 5b 5d 20 3d 20 | 41 4c 4f 47 5f 46 49 4c |Log[] = |ALOG_FIL|
|00004cb0| 45 3b 20 20 20 20 20 20 | 2f 2a 20 6e 61 6d 65 20 |E; |/* name |
|00004cc0| 6f 66 20 6d 73 67 6c 6f | 67 20 66 69 6c 65 6e 61 |of msglo|g filena|
|00004cd0| 6d 65 20 2a 2f 0a 23 65 | 6e 64 69 66 0a 58 0a 23 |me */.#e|ndif.X.#|
|00004ce0| 69 66 64 65 66 20 55 4e | 41 4d 45 5f 44 49 52 0a |ifdef UN|AME_DIR.|
|00004cf0| 58 20 20 20 73 74 61 74 | 69 63 20 63 68 61 72 20 |X stat|ic char |
|00004d00| 73 75 62 63 6d 64 5b 5d | 20 3d 20 22 20 7c 20 73 |subcmd[]| = " | s|
|00004d10| 6f 72 74 20 7c 20 75 6e | 69 71 22 3b 20 20 20 20 |ort | un|iq"; |
|00004d20| 20 2f 2a 20 70 69 70 65 | 20 74 68 61 74 20 66 6f | /* pipe| that fo|
|00004d30| 6c 6c 6f 77 73 20 75 75 | 6e 61 6d 65 20 2a 2f 0a |llows uu|name */.|
|00004d40| 23 65 6c 73 65 20 20 2f | 2a 20 21 20 55 4e 41 4d |#else /|* ! UNAM|
|00004d50| 45 5f 44 49 52 20 2a 2f | 0a 58 20 20 20 73 74 61 |E_DIR */|.X sta|
|00004d60| 74 69 63 20 63 68 61 72 | 20 53 6f 72 74 5b 5d 20 |tic char| Sort[] |
|00004d70| 3d 20 22 75 75 6e 61 6d | 65 20 7c 20 73 6f 72 74 |= "uunam|e | sort|
|00004d80| 20 7c 20 75 6e 69 71 22 | 3b 20 2f 2a 20 64 65 66 | | uniq"|; /* def|
|00004d90| 61 75 6c 74 20 74 6f 20 | 6f 62 74 61 69 6e 20 73 |ault to |obtain s|
|00004da0| 69 74 65 20 6e 61 6d 65 | 73 20 2a 2f 0a 23 65 6e |ite name|s */.#en|
|00004db0| 64 69 66 20 2f 2a 55 4e | 41 4d 45 5f 44 49 52 20 |dif /*UN|AME_DIR |
|00004dc0| 2a 2f 0a 58 0a 23 69 66 | 64 65 66 20 41 54 5f 4f |*/.X.#if|def AT_O|
|00004dd0| 50 54 49 4f 4e 0a 58 20 | 73 74 61 74 69 63 20 63 |PTION.X |static c|
|00004de0| 68 61 72 20 61 74 5f 6f | 70 74 5b 5d 20 3d 20 41 |har at_o|pt[] = A|
|00004df0| 54 5f 4f 50 54 49 4f 4e | 3b 0a 23 65 6c 73 65 0a |T_OPTION|;.#else.|
|00004e00| 58 20 73 74 61 74 69 63 | 20 63 68 61 72 20 61 74 |X static| char at|
|00004e10| 5f 6f 70 74 5b 5d 20 3d | 20 22 2d 6d 63 22 3b 0a |_opt[] =| "-mc";.|
|00004e20| 23 65 6e 64 69 66 20 2f | 2a 20 41 54 5f 4f 50 54 |#endif /|* AT_OPT|
|00004e30| 49 4f 4e 20 2a 2f 0a 58 | 0a 73 74 61 74 69 63 20 |ION */.X|.static |
|00004e40| 63 68 61 72 20 61 74 5f | 63 6d 64 5b 5d 20 3d 20 |char at_|cmd[] = |
|00004e50| 22 61 74 22 3b 0a 73 74 | 61 74 69 63 20 63 68 61 |"at";.st|atic cha|
|00004e60| 72 20 63 47 72 61 64 65 | 5b 5d 20 3d 20 44 45 46 |r cGrade|[] = DEF|
|00004e70| 5f 47 52 41 44 45 3b 20 | 20 20 20 20 20 20 20 20 |_GRADE; | |
|00004e80| 2f 2a 20 67 72 61 64 65 | 20 61 73 20 64 65 66 69 |/* grade| as defi|
|00004e90| 6e 65 64 20 69 6e 20 63 | 6f 6e 66 2e 68 20 2a 2f |ned in c|onf.h */|
|00004ea0| 0a 73 74 61 74 69 63 20 | 63 68 61 72 20 64 47 72 |.static |char dGr|
|00004eb0| 61 64 65 5b 5d 20 3d 20 | 22 41 22 3b 20 20 20 20 |ade[] = |"A"; |
|00004ec0| 20 20 20 20 20 20 20 20 | 20 20 20 2f 2a 20 75 73 | | /* us|
|00004ed0| 65 20 74 68 69 73 20 69 | 66 20 44 45 46 5f 47 52 |e this i|f DEF_GR|
|00004ee0| 41 44 45 20 69 73 20 69 | 6e 76 61 6c 69 64 20 2a |ADE is i|nvalid *|
|00004ef0| 2f 0a 73 74 61 74 69 63 | 20 63 68 61 72 20 41 75 |/.static| char Au|
|00004f00| 74 6f 5f 44 69 72 5b 5d | 20 3d 20 41 55 54 4f 5f |to_Dir[]| = AUTO_|
|00004f10| 44 49 52 3b 20 20 20 20 | 20 20 20 20 2f 2a 20 77 |DIR; | /* w|
|00004f20| 65 20 6c 69 76 65 20 68 | 65 72 65 20 2a 2f 0a 73 |e live h|ere */.s|
|00004f30| 74 61 74 69 63 20 63 68 | 61 72 20 43 69 63 6f 5f |tatic ch|ar Cico_|
|00004f40| 44 69 72 5b 5d 20 3d 20 | 43 49 43 4f 5f 44 49 52 |Dir[] = |CICO_DIR|
|00004f50| 3b 20 20 20 20 20 20 20 | 20 2f 2a 20 68 65 72 65 |; | /* here|
|00004f60| 20 6c 69 76 65 73 20 63 | 69 63 6f 20 2a 2f 0a 58 | lives c|ico */.X|
|00004f70| 0a 73 74 72 75 63 74 20 | 53 69 74 65 73 20 7b 0a |.struct |Sites {.|
|00004f80| 58 20 20 20 20 20 20 20 | 63 68 61 72 20 6e 61 6d |X |char nam|
|00004f90| 65 5b 4d 41 58 48 4f 53 | 54 4e 41 4d 45 4c 45 4e |e[MAXHOS|TNAMELEN|
|00004fa0| 2b 31 5d 3b 20 20 20 20 | 2f 2a 20 6e 61 6d 65 20 |+1]; |/* name |
|00004fb0| 6f 66 20 73 69 74 65 20 | 61 73 20 73 75 70 70 6c |of site |as suppl|
|00004fc0| 69 65 64 20 62 79 20 75 | 75 6e 61 6d 65 20 2a 2f |ied by u|uname */|
|00004fd0| 0a 58 20 20 20 20 20 20 | 20 63 68 61 72 20 67 72 |.X | char gr|
|00004fe0| 61 64 65 5b 31 5d 3b 20 | 20 20 20 20 20 20 20 20 |ade[1]; | |
|00004ff0| 20 20 20 20 20 20 20 20 | 20 2f 2a 20 61 73 20 70 | | /* as p|
|00005000| 61 73 73 65 64 20 6f 72 | 20 64 65 66 61 75 6c 74 |assed or| default|
|00005010| 65 64 20 2a 2f 0a 58 20 | 20 20 20 20 20 20 62 6f |ed */.X | bo|
|00005020| 6f 6c 20 66 6c 61 67 3b | 20 20 20 20 20 20 20 20 |ol flag;| |
|00005030| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 2f 2a | | /*|
|00005040| 20 54 52 55 45 3a 20 63 | 61 6c 6c 20 74 68 69 73 | TRUE: c|all this|
|00005050| 20 73 69 74 65 20 6f 6e | 6c 79 20 20 2a 2f 0a 58 | site on|ly */.X|
|00005060| 20 20 20 20 20 20 20 62 | 6f 6f 6c 20 66 6f 72 63 | b|ool forc|
|00005070| 65 3b 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |e; | |
|00005080| 20 20 20 20 20 20 20 2f | 2a 20 54 52 55 45 3a 20 | /|* TRUE: |
|00005090| 2d 53 20 6f 72 20 2d 66 | 20 6f 70 74 69 6f 6e 20 |-S or -f| option |
|000050a0| 67 69 76 65 6e 20 2a 2f | 0a 58 20 20 20 20 20 20 |given */|.X |
|000050b0| 20 69 6e 74 20 73 74 61 | 74 5f 63 6f 64 65 3b 0a | int sta|t_code;.|
|000050c0| 58 20 20 20 20 20 20 20 | 69 6e 74 20 73 74 61 74 |X |int stat|
|000050d0| 5f 72 65 74 72 69 65 73 | 3b 0a 58 20 20 20 20 20 |_retries|;.X |
|000050e0| 20 20 6c 6f 6e 67 20 73 | 74 61 74 5f 6c 61 73 74 | long s|tat_last|
|000050f0| 63 61 6c 6c 3b 0a 58 20 | 20 20 20 20 20 20 6c 6f |call;.X | lo|
|00005100| 6e 67 20 73 74 61 74 5f | 64 65 6c 61 79 3b 0a 58 |ng stat_|delay;.X|
|00005110| 20 20 20 20 20 20 20 63 | 68 61 72 20 2a 73 74 61 | c|har *sta|
|00005120| 74 5f 65 72 72 74 65 78 | 74 3b 20 0a 7d 3b 0a 58 |t_errtex|t; .};.X|
|00005130| 20 73 74 72 75 63 74 20 | 43 6f 6d 6d 6f 6e 5f 53 | struct |Common_S|
|00005140| 74 6f 72 20 7b 0a 58 20 | 20 20 20 20 20 20 20 69 |tor {.X | i|
|00005150| 6e 74 20 6d 61 78 74 61 | 62 3b 20 20 20 20 20 20 |nt maxta|b; |
|00005160| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00005170| 20 2f 2a 20 68 69 67 68 | 2d 77 61 74 65 72 2d 6d | /* high|-water-m|
|00005180| 61 72 6b 20 66 6f 72 20 | 73 69 74 65 20 74 61 62 |ark for |site tab|
|00005190| 20 2a 2f 0a 58 20 20 20 | 20 20 20 20 20 69 6e 74 | */.X | int|
|000051a0| 20 53 69 6e 67 6c 65 5f | 53 69 74 65 5f 54 61 62 | Single_|Site_Tab|
|000051b0| 3b 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 2f |; | /|
|000051c0| 2a 20 65 6e 74 72 79 20 | 69 6e 74 6f 20 73 69 74 |* entry |into sit|
|000051d0| 65 20 74 61 62 20 66 6f | 72 20 61 20 73 69 74 65 |e tab fo|r a site|
|000051e0| 20 20 2a 2f 0a 58 20 20 | 20 20 20 20 20 20 20 20 | */.X | |
|000051f0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00005200| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00005210| 2f 2a 20 70 61 73 73 65 | 64 20 76 69 61 20 2d 73 |/* passe|d via -s|
|00005220| 20 6f 72 20 2d 53 20 6f | 70 74 69 6f 6e 20 20 2a | or -S o|ption *|
|00005230| 2f 0a 58 20 20 20 20 20 | 20 20 20 62 6f 6f 6c 20 |/.X | bool |
|00005240| 66 6f 72 63 65 5f 61 6e | 79 3b 20 20 20 20 20 20 |force_an|y; |
|00005250| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 2f 2a 20 | | /* |
|00005260| 54 52 55 45 3a 20 2d 66 | 20 6f 70 74 69 6f 6e 20 |TRUE: -f| option |
|00005270| 77 69 74 68 6f 75 74 20 | 73 69 74 65 20 2a 2f 0a |without |site */.|
|00005280| 58 20 20 20 20 20 20 20 | 20 62 6f 6f 6c 20 6f 6e |X | bool on|
|00005290| 65 5f 73 69 74 65 3b 20 | 20 20 20 20 20 20 20 20 |e_site; | |
|000052a0| 20 20 20 20 20 20 20 20 | 20 20 20 2f 2a 20 54 52 | | /* TR|
|000052b0| 55 45 3a 20 63 61 6c 6c | 20 66 6f 72 20 61 20 73 |UE: call| for a s|
|000052c0| 70 65 63 69 66 69 63 20 | 73 69 74 65 20 2a 2f 0a |pecific |site */.|
|000052d0| 58 20 20 20 20 20 20 20 | 20 62 6f 6f 6c 20 6e 6f |X | bool no|
|000052e0| 64 65 74 61 63 68 3b 20 | 20 20 20 20 20 20 20 20 |detach; | |
|000052f0| 20 20 20 20 20 20 20 20 | 20 20 20 2f 2a 20 54 52 | | /* TR|
|00005300| 55 45 3a 20 2d 44 20 6f | 72 20 2d 2d 6e 6f 64 65 |UE: -D o|r --node|
|00005310| 74 61 63 68 20 66 6f 75 | 6e 64 20 2a 2f 0a 58 20 |tach fou|nd */.X |
|00005320| 20 20 20 20 20 20 20 62 | 6f 6f 6c 20 69 66 77 6f | b|ool ifwo|
|00005330| 72 6b 3b 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |rk; | |
|00005340| 20 20 20 20 20 20 20 20 | 20 2f 2a 20 54 52 55 45 | | /* TRUE|
|00005350| 3a 20 2d 43 20 6f 72 20 | 2d 2d 69 66 77 6f 72 6b |: -C or |--ifwork|
|00005360| 20 66 6f 75 6e 64 20 2a | 2f 0a 58 20 20 20 20 20 | found *|/.X |
|00005370| 20 20 20 63 68 61 72 20 | 2a 47 72 61 64 65 3b 20 | char |*Grade; |
|00005380| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00005390| 20 20 20 20 20 2f 2a 20 | 75 73 65 20 74 68 69 73 | /* |use this|
|000053a0| 20 61 73 20 67 72 61 64 | 65 20 66 6f 72 20 63 61 | as grad|e for ca|
|000053b0| 6c 6c 73 20 2a 2f 0a 58 | 20 20 20 20 20 20 20 20 |lls */.X| |
|000053c0| 63 68 61 72 20 2a 50 6f | 6c 6c 5f 50 67 6d 3b 20 |char *Po|ll_Pgm; |
|000053d0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000053e0| 20 20 2f 2a 20 6f 75 72 | 20 6e 61 6d 65 20 77 69 | /* our| name wi|
|000053f0| 74 68 6f 75 74 20 70 61 | 74 68 20 2a 2f 0a 58 20 |thout pa|th */.X |
|00005400| 20 20 20 20 20 20 20 63 | 68 61 72 20 2a 63 61 6c | c|har *cal|
|00005410| 6c 65 64 5f 61 73 3b 20 | 20 20 20 20 20 20 20 20 |led_as; | |
|00005420| 20 20 20 20 20 20 20 20 | 20 2f 2a 20 20 20 20 20 | | /* |
|00005430| 62 75 74 20 63 61 6c 6c | 65 64 20 62 79 20 74 68 |but call|ed by th|
|00005440| 69 73 20 6e 61 6d 65 20 | 2a 2f 0a 58 20 20 20 20 |is name |*/.X |
|00005450| 20 20 20 20 69 6e 74 20 | 20 6f 75 72 5f 70 69 64 | int | our_pid|
|00005460| 3b 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |; | |
|00005470| 20 20 20 20 20 20 2f 2a | 20 6f 75 72 20 70 72 6f | /*| our pro|
|00005480| 63 65 73 73 2d 69 64 20 | 2a 2f 0a 58 20 20 20 20 |cess-id |*/.X |
|00005490| 20 20 20 20 63 68 61 72 | 20 2a 55 75 63 69 63 6f | char| *Uucico|
|000054a0| 3b 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |; | |
|000054b0| 20 20 20 20 20 20 2f 2a | 20 63 69 63 6f 27 73 20 | /*| cico's |
|000054c0| 6e 61 6d 65 20 77 69 74 | 68 6f 75 74 20 70 61 74 |name wit|hout pat|
|000054d0| 68 20 2a 2f 0a 58 20 20 | 20 20 20 20 20 20 63 68 |h */.X | ch|
|000054e0| 61 72 20 54 68 69 73 5f | 53 69 74 65 5b 4d 41 58 |ar This_|Site[MAX|
|000054f0| 48 4f 53 54 4e 41 4d 45 | 4c 45 4e 2b 31 5d 3b 20 |HOSTNAME|LEN+1]; |
|00005500| 2f 2a 20 6f 75 72 20 73 | 69 74 65 20 6e 61 6d 65 |/* our s|ite name|
|00005510| 20 2a 2f 0a 58 20 20 20 | 20 20 20 20 20 63 68 61 | */.X | cha|
|00005520| 72 20 53 69 6e 67 6c 65 | 5f 53 69 74 65 5b 4d 41 |r Single|_Site[MA|
|00005530| 58 48 4f 53 54 4e 41 4d | 45 4c 45 4e 2b 31 5d 3b |XHOSTNAM|ELEN+1];|
|00005540| 20 2f 2a 20 6e 61 6d 65 | 20 6f 66 20 73 69 74 65 | /* name| of site|
|00005550| 20 66 6f 75 6e 64 20 61 | 73 20 61 72 67 20 2a 2f | found a|s arg */|
|00005560| 0a 58 20 20 20 20 20 20 | 20 20 75 6e 69 6f 6e 20 |.X | union |
|00005570| 77 61 69 74 20 2a 57 5f | 53 74 61 74 3b 0a 58 20 |wait *W_|Stat;.X |
|00005580| 20 20 20 20 20 20 20 63 | 68 61 72 20 2a 55 73 6f | c|har *Uso|
|00005590| 72 74 3b 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |rt; | |
|000055a0| 20 20 20 20 20 20 20 20 | 20 20 2f 2a 20 77 69 6c | | /* wil|
|000055b0| 6c 20 68 6f 6c 64 20 75 | 75 6e 61 6d 65 20 2b 20 |l hold u|uname + |
|000055c0| 73 75 62 63 6d 64 20 2a | 2f 0a 58 20 20 20 20 20 |subcmd *|/.X |
|000055d0| 20 20 20 73 74 72 75 63 | 74 20 70 61 73 73 77 64 | struc|t passwd|
|000055e0| 20 2a 70 77 64 3b 0a 58 | 20 20 20 20 20 20 20 20 | *pwd;.X| |
|000055f0| 73 74 72 75 63 74 20 74 | 69 6d 65 76 61 6c 20 74 |struct t|imeval t|
|00005600| 70 3b 0a 58 20 20 20 20 | 20 20 20 20 73 74 72 75 |p;.X | stru|
|00005610| 63 74 20 74 69 6d 65 7a | 6f 6e 65 20 74 7a 70 3b |ct timez|one tzp;|
|00005620| 0a 58 20 20 20 20 20 20 | 20 20 73 74 72 75 63 74 |.X | struct|
|00005630| 20 53 69 74 65 73 20 53 | 69 74 65 74 61 62 5b 53 | Sites S|itetab[S|
|00005640| 49 54 45 5f 4d 41 58 5d | 3b 0a 58 20 20 20 20 20 |ITE_MAX]|;.X |
|00005650| 20 20 20 63 68 61 72 20 | 6d 6f 6e 5b 33 5d 3b 0a | char |mon[3];.|
|00005660| 58 20 20 20 20 20 20 20 | 20 69 6e 74 20 64 61 79 |X | int day|
|00005670| 2c 20 68 68 2c 20 6d 6d | 2c 20 73 73 3b 0a 58 20 |, hh, mm|, ss;.X |
|00005680| 20 20 20 20 20 20 20 63 | 68 61 72 20 6f 6e 61 6d | c|har onam|
|00005690| 65 5b 32 34 5d 3b 0a 58 | 20 20 20 20 20 20 20 20 |e[24];.X| |
|000056a0| 63 68 61 72 20 6a 6e 61 | 6d 65 5b 32 30 5d 3b 0a |char jna|me[20];.|
|000056b0| 58 20 20 20 20 20 20 20 | 20 63 68 61 72 20 74 73 |X | char ts|
|000056c0| 74 72 5b 32 30 5d 3b 0a | 58 20 20 20 20 20 20 20 |tr[20];.|X |
|000056d0| 20 63 68 61 72 20 63 74 | 61 67 5b 32 5d 3b 0a 58 | char ct|ag[2];.X|
|000056e0| 20 20 20 20 20 20 20 20 | 63 68 61 72 20 77 6f 72 | |char wor|
|000056f0| 6b 66 5b 33 30 30 5d 3b | 0a 58 20 20 20 20 20 20 |kf[300];|.X |
|00005700| 20 20 63 68 61 72 20 63 | 61 6c 6c 5f 61 72 67 73 | char c|all_args|
|00005710| 5b 33 30 30 5d 3b 0a 58 | 20 7d 3b 0a 58 0a 2f 2a |[300];.X| };.X./*|
|00005720| 20 63 6f 70 69 65 64 20 | 66 72 6f 6d 20 74 61 79 | copied |from tay|
|00005730| 6c 6f 72 20 75 75 63 70 | 20 22 75 75 64 65 66 73 |lor uucp| "uudefs|
|00005740| 2e 68 22 0a 58 20 2a 0a | 58 20 2a 2a 2f 0a 58 0a |.h".X *.|X **/.X.|
|00005750| 2f 2a 20 54 68 65 20 74 | 73 74 61 74 75 73 5f 74 |/* The t|status_t|
|00005760| 79 70 65 20 65 6e 75 6d | 65 72 61 74 69 6f 6e 20 |ype enum|eration |
|00005770| 68 6f 6c 64 73 20 74 68 | 65 20 6b 69 6e 64 73 20 |holds th|e kinds |
|00005780| 6f 66 20 73 74 61 74 75 | 73 20 69 6e 66 6f 72 6d |of statu|s inform|
|00005790| 61 74 69 6f 6e 0a 58 20 | 20 20 77 65 20 70 75 74 |ation.X | we put|
|000057a0| 20 69 6e 20 74 68 65 20 | 73 74 61 74 75 73 20 66 | in the |status f|
|000057b0| 69 6c 65 2e 20 20 54 68 | 65 20 6f 72 64 65 72 20 |ile. Th|e order |
|000057c0| 6f 66 20 65 6e 74 72 69 | 65 73 20 68 65 72 65 20 |of entri|es here |
|000057d0| 63 6f 72 72 65 73 70 6f | 6e 64 73 0a 58 20 20 20 |correspo|nds.X |
|000057e0| 74 6f 20 74 68 65 20 6f | 72 64 65 72 20 6f 66 20 |to the o|rder of |
|000057f0| 65 6e 74 72 69 65 73 20 | 69 6e 20 74 68 65 20 61 |entries |in the a|
|00005800| 7a 53 74 61 74 75 73 20 | 61 72 72 61 79 2e 20 20 |zStatus |array. |
|00005810| 2a 2f 0a 65 6e 75 6d 20 | 74 73 74 61 74 75 73 5f |*/.enum |tstatus_|
|00005820| 74 79 70 65 0a 7b 0a 58 | 20 20 2f 2a 20 43 6f 6e |type.{.X| /* Con|
|00005830| 76 65 72 73 61 74 69 6f | 6e 20 63 6f 6d 70 6c 65 |versatio|n comple|
|00005840| 74 65 2e 20 20 2a 2f 0a | 58 20 20 53 54 41 54 55 |te. */.|X STATU|
|00005850| 53 5f 43 4f 4d 50 4c 45 | 54 45 2c 0a 58 20 20 2f |S_COMPLE|TE,.X /|
|00005860| 2a 20 50 6f 72 74 20 75 | 6e 61 76 61 69 6c 61 62 |* Port u|navailab|
|00005870| 6c 65 2e 20 20 2a 2f 0a | 58 20 20 53 54 41 54 55 |le. */.|X STATU|
|00005880| 53 5f 50 4f 52 54 5f 46 | 41 49 4c 45 44 2c 0a 58 |S_PORT_F|AILED,.X|
|00005890| 20 20 2f 2a 20 44 69 61 | 6c 20 66 61 69 6c 65 64 | /* Dia|l failed|
|000058a0| 2e 20 20 2a 2f 0a 58 20 | 20 53 54 41 54 55 53 5f |. */.X | STATUS_|
|000058b0| 44 49 41 4c 5f 46 41 49 | 4c 45 44 2c 0a 58 20 20 |DIAL_FAI|LED,.X |
|000058c0| 2f 2a 20 4c 6f 67 69 6e | 20 66 61 69 6c 65 64 2e |/* Login| failed.|
|000058d0| 20 20 2a 2f 0a 58 20 20 | 53 54 41 54 55 53 5f 4c | */.X |STATUS_L|
|000058e0| 4f 47 49 4e 5f 46 41 49 | 4c 45 44 2c 0a 58 20 20 |OGIN_FAI|LED,.X |
|000058f0| 2f 2a 20 48 61 6e 64 73 | 68 61 6b 65 20 66 61 69 |/* Hands|hake fai|
|00005900| 6c 65 64 2e 20 20 2a 2f | 0a 58 20 20 53 54 41 54 |led. */|.X STAT|
|00005910| 55 53 5f 48 41 4e 44 53 | 48 41 4b 45 5f 46 41 49 |US_HANDS|HAKE_FAI|
|00005920| 4c 45 44 2c 0a 58 20 20 | 2f 2a 20 46 61 69 6c 65 |LED,.X |/* Faile|
|00005930| 64 20 61 66 74 65 72 20 | 6c 6f 67 67 69 6e 67 20 |d after |logging |
|00005940| 69 6e 2e 20 20 2a 2f 0a | 58 20 20 53 54 41 54 55 |in. */.|X STATU|
|00005950| 53 5f 46 41 49 4c 45 44 | 2c 0a 58 20 20 2f 2a 20 |S_FAILED|,.X /* |
|00005960| 54 61 6c 6b 69 6e 67 20 | 74 6f 20 72 65 6d 6f 74 |Talking |to remot|
|00005970| 65 20 73 79 73 74 65 6d | 2e 20 20 2a 2f 0a 58 20 |e system|. */.X |
|00005980| 20 53 54 41 54 55 53 5f | 54 41 4c 4b 49 4e 47 2c | STATUS_|TALKING,|
|00005990| 0a 58 20 20 2f 2a 20 57 | 72 6f 6e 67 20 74 69 6d |.X /* W|rong tim|
|000059a0| 65 20 74 6f 20 63 61 6c | 6c 2e 20 20 2a 2f 0a 58 |e to cal|l. */.X|
|000059b0| 20 20 53 54 41 54 55 53 | 5f 57 52 4f 4e 47 5f 54 | STATUS|_WRONG_T|
|000059c0| 49 4d 45 2c 0a 58 20 20 | 2f 2a 20 4e 75 6d 62 65 |IME,.X |/* Numbe|
|000059d0| 72 20 6f 66 20 73 74 61 | 74 75 73 20 76 61 6c 75 |r of sta|tus valu|
|000059e0| 65 73 2e 20 20 2a 2f 0a | 58 20 20 53 54 41 54 55 |es. */.|X STATU|
|000059f0| 53 5f 56 41 4c 55 45 53 | 0a 7d 3b 0a 58 0a 2f 2a |S_VALUES|.};.X./*|
|00005a00| 20 2d 2d 2d 2d 65 6e 64 | 2d 2d 20 63 6f 70 69 65 | ----end|-- copie|
|00005a10| 64 20 66 72 6f 6d 20 74 | 61 79 6c 6f 72 20 75 75 |d from t|aylor uu|
|00005a20| 63 70 20 22 75 75 64 65 | 66 73 2e 68 22 20 20 2a |cp "uude|fs.h" *|
|00005a30| 2f 0a 58 0a 58 0a 2f 2a | 20 64 65 66 69 6e 65 20 |/.X.X./*| define |
|00005a40| 74 68 65 20 70 72 6f 74 | 6f 74 79 70 65 73 0a 58 |the prot|otypes.X|
|00005a50| 20 2a 20 2a 2f 0a 58 0a | 69 6e 74 20 73 65 74 5f | * */.X.|int set_|
|00005a60| 6d 6c 6f 67 28 46 49 4c | 45 20 2a 2a 73 65 63 6c |mlog(FIL|E **secl|
|00005a70| 6f 67 2c 20 73 74 72 75 | 63 74 20 43 6f 6d 6d 6f |og, stru|ct Commo|
|00005a80| 6e 5f 53 74 6f 72 20 2a | 29 3b 0a 69 6e 74 20 67 |n_Stor *|);.int g|
|00005a90| 65 74 5f 73 69 74 65 73 | 28 73 74 72 75 63 74 20 |et_sites|(struct |
|00005aa0| 43 6f 6d 6d 6f 6e 5f 53 | 74 6f 72 20 2a 29 3b 0a |Common_S|tor *);.|
|00005ab0| 69 6e 74 20 43 61 6c 6c | 5f 43 69 63 6f 28 69 6e |int Call|_Cico(in|
|00005ac0| 74 20 61 72 67 63 2c 20 | 63 68 61 72 20 2a 61 72 |t argc, |char *ar|
|00005ad0| 67 76 5b 5d 2c 20 73 74 | 72 75 63 74 20 43 6f 6d |gv[], st|ruct Com|
|00005ae0| 6d 6f 6e 5f 53 74 6f 72 | 20 2a 29 3b 20 0a 69 6e |mon_Stor| *); .in|
|00005af0| 74 20 67 65 74 5f 61 72 | 67 73 28 69 6e 74 20 61 |t get_ar|gs(int a|
|00005b00| 72 67 63 2c 20 63 68 61 | 72 20 2a 61 72 67 76 5b |rgc, cha|r *argv[|
|00005b10| 5d 2c 20 73 74 72 75 63 | 74 20 43 6f 6d 6d 6f 6e |], struc|t Common|
|00005b20| 5f 53 74 6f 72 20 2a 29 | 3b 20 0a 69 6e 74 20 48 |_Stor *)|; .int H|
|00005b30| 6f 75 73 65 6b 65 65 70 | 69 6e 67 28 69 6e 74 20 |ousekeep|ing(int |
|00005b40| 61 72 67 63 2c 20 63 68 | 61 72 20 2a 61 72 67 76 |argc, ch|ar *argv|
|00005b50| 5b 5d 2c 20 73 74 72 75 | 63 74 20 43 6f 6d 6d 6f |[], stru|ct Commo|
|00005b60| 6e 5f 53 74 6f 72 20 2a | 29 3b 0a 69 6e 74 20 43 |n_Stor *|);.int C|
|00005b70| 68 6b 5f 53 74 61 74 75 | 73 28 69 6e 74 20 61 72 |hk_Statu|s(int ar|
|00005b80| 67 63 2c 20 63 68 61 72 | 20 2a 61 72 67 76 5b 5d |gc, char| *argv[]|
|00005b90| 2c 0a 58 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |,.X | |
|00005ba0| 20 20 73 74 72 75 63 74 | 20 74 69 6d 65 76 61 6c | struct| timeval|
|00005bb0| 20 74 63 63 2c 0a 58 20 | 20 20 20 20 20 20 20 20 | tcc,.X | |
|00005bc0| 20 20 20 20 20 20 73 74 | 72 75 63 74 20 74 69 6d | st|ruct tim|
|00005bd0| 65 7a 6f 6e 65 20 74 7a | 63 63 2c 0a 58 20 20 20 |ezone tz|cc,.X |
|00005be0| 20 20 20 20 20 20 20 20 | 20 20 20 20 73 74 72 75 | | stru|
|00005bf0| 63 74 20 43 6f 6d 6d 6f | 6e 5f 53 74 6f 72 20 2a |ct Commo|n_Stor *|
|00005c00| 29 3b 0a 69 6e 74 20 43 | 68 65 63 6b 5f 53 69 74 |);.int C|heck_Sit|
|00005c10| 65 28 73 74 72 75 63 74 | 20 43 6f 6d 6d 6f 6e 5f |e(struct| Common_|
|00005c20| 53 74 6f 72 20 2a 29 3b | 0a 69 6e 74 20 73 74 61 |Stor *);|.int sta|
|00005c30| 72 74 5f 61 74 28 63 68 | 61 72 20 2a 6e 61 6d 65 |rt_at(ch|ar *name|
|00005c40| 2c 20 73 74 72 75 63 74 | 20 43 6f 6d 6d 6f 6e 5f |, struct| Common_|
|00005c50| 53 74 6f 72 20 2a 29 3b | 0a 76 6f 69 64 20 2a 73 |Stor *);|.void *s|
|00005c60| 74 6f 72 61 67 65 28 75 | 6e 73 69 67 6e 65 64 20 |torage(u|nsigned |
|00005c70| 63 6f 75 6e 74 2c 20 63 | 68 61 72 20 2a 65 72 72 |count, c|har *err|
|00005c80| 6c 6f 63 2c 20 69 6e 74 | 20 2a 52 63 2c 20 73 74 |loc, int| *Rc, st|
|00005c90| 72 75 63 74 20 43 6f 6d | 6d 6f 6e 5f 53 74 6f 72 |ruct Com|mon_Stor|
|00005ca0| 20 2a 29 3b 0a 58 0a 65 | 78 74 65 72 6e 20 69 6e | *);.X.e|xtern in|
|00005cb0| 74 20 67 65 74 68 6f 73 | 74 6e 61 6d 65 28 63 68 |t gethos|tname(ch|
|00005cc0| 61 72 20 2a 6e 61 6d 65 | 2c 20 69 6e 74 20 6e 61 |ar *name|, int na|
|00005cd0| 6d 65 6c 65 6e 29 3b 0a | 65 78 74 65 72 6e 20 69 |melen);.|extern i|
|00005ce0| 6e 74 20 73 79 73 74 65 | 6d 28 63 68 61 72 20 2a |nt syste|m(char *|
|00005cf0| 63 6d 64 29 3b 0a 65 78 | 74 65 72 6e 20 69 6e 74 |cmd);.ex|tern int|
|00005d00| 20 66 6f 72 6b 28 29 3b | 0a 65 78 74 65 72 6e 20 | fork();|.extern |
|00005d10| 69 6e 74 20 75 6e 6c 69 | 6e 6b 28 63 68 61 72 20 |int unli|nk(char |
|00005d20| 2a 70 61 74 68 29 3b 0a | 65 78 74 65 72 6e 20 76 |*path);.|extern v|
|00005d30| 6f 69 64 20 2a 6d 61 6c | 6c 6f 63 28 73 69 7a 65 |oid *mal|loc(size|
|00005d40| 5f 74 20 62 79 74 65 53 | 69 7a 65 29 3b 0a 65 78 |_t byteS|ize);.ex|
|00005d50| 74 65 72 6e 20 69 6e 74 | 20 65 78 65 63 76 65 28 |tern int| execve(|
|00005d60| 63 68 61 72 20 2a 6e 61 | 6d 65 2c 20 63 68 61 72 |char *na|me, char|
|00005d70| 20 2a 61 72 67 76 5b 5d | 2c 20 63 68 61 72 20 2a | *argv[]|, char *|
|00005d80| 65 6e 76 70 5b 5d 29 3b | 0a 65 78 74 65 72 6e 20 |envp[]);|.extern |
|00005d90| 69 6e 74 20 65 78 65 63 | 6c 70 28 63 68 61 72 20 |int exec|lp(char |
|00005da0| 2a 6e 61 6d 65 2c 20 63 | 68 61 72 20 2a 61 72 67 |*name, c|har *arg|
|00005db0| 30 2c 20 2e 2e 2e 29 3b | 0a 65 78 74 65 72 6e 20 |0, ...);|.extern |
|00005dc0| 69 6e 74 20 63 68 6d 6f | 64 28 63 68 61 72 20 2a |int chmo|d(char *|
|00005dd0| 70 61 74 68 2c 20 69 6e | 74 20 6d 6f 64 65 29 3b |path, in|t mode);|
|00005de0| 0a 65 78 74 65 72 6e 20 | 69 6e 74 20 67 65 74 75 |.extern |int getu|
|00005df0| 69 64 28 29 3b 0a 65 78 | 74 65 72 6e 20 69 6e 74 |id();.ex|tern int|
|00005e00| 20 67 65 74 70 69 64 28 | 29 3b 0a 65 78 74 65 72 | getpid(|);.exter|
|00005e10| 6e 20 69 6e 74 20 69 73 | 61 74 74 79 28 69 6e 74 |n int is|atty(int|
|00005e20| 29 3b 0a 65 78 74 65 72 | 6e 20 63 68 61 72 20 2a |);.exter|n char *|
|00005e30| 74 74 79 6e 61 6d 65 28 | 69 6e 74 29 3b 0a 65 78 |ttyname(|int);.ex|
|00005e40| 74 65 72 6e 20 76 6f 69 | 64 20 66 72 65 65 28 76 |tern voi|d free(v|
|00005e50| 6f 69 64 20 2a 70 74 72 | 29 3b 0a 23 69 66 64 65 |oid *ptr|);.#ifde|
|00005e60| 66 20 5f 5f 53 54 52 49 | 43 54 5f 41 4e 53 49 5f |f __STRI|CT_ANSI_|
|00005e70| 5f 0a 65 78 74 65 72 6e | 20 46 49 4c 45 20 2a 70 |_.extern| FILE *p|
|00005e80| 6f 70 65 6e 28 63 68 61 | 72 20 2a 63 6f 6d 6d 61 |open(cha|r *comma|
|00005e90| 6e 64 2c 20 63 68 61 72 | 20 2a 74 79 70 65 29 3b |nd, char| *type);|
|00005ea0| 0a 65 78 74 65 72 6e 20 | 69 6e 74 20 70 63 6c 6f |.extern |int pclo|
|00005eb0| 73 65 28 46 49 4c 45 20 | 2a 73 74 72 65 61 6d 29 |se(FILE |*stream)|
|00005ec0| 3b 0a 65 78 74 65 72 6e | 20 76 6f 69 64 20 5f 65 |;.extern| void _e|
|00005ed0| 78 69 74 28 69 6e 74 20 | 73 74 61 74 75 73 29 3b |xit(int |status);|
|00005ee0| 0a 23 65 6e 64 69 66 20 | 20 2f 2a 20 5f 5f 53 54 |.#endif | /* __ST|
|00005ef0| 52 49 43 54 5f 41 4e 53 | 49 5f 5f 20 2a 2f 0a 23 |RICT_ANS|I__ */.#|
|00005f00| 69 66 64 65 66 20 5f 5f | 53 54 52 49 43 54 5f 42 |ifdef __|STRICT_B|
|00005f10| 53 44 5f 5f 0a 65 78 74 | 65 72 6e 20 69 6e 74 20 |SD__.ext|ern int |
|00005f20| 66 70 72 69 6e 74 66 28 | 46 49 4c 45 20 2a 73 74 |fprintf(|FILE *st|
|00005f30| 72 65 61 6d 2c 20 63 6f | 6e 73 74 20 63 68 61 72 |ream, co|nst char|
|00005f40| 20 2a 66 6f 72 6d 61 74 | 2c 20 2e 2e 2e 29 3b 0a | *format|, ...);.|
|00005f50| 65 78 74 65 72 6e 20 69 | 6e 74 20 66 63 6c 6f 73 |extern i|nt fclos|
|00005f60| 65 28 46 49 4c 45 20 2a | 73 74 72 65 61 6d 29 3b |e(FILE *|stream);|
|00005f70| 0a 65 78 74 65 72 6e 20 | 63 68 61 72 20 2a 73 74 |.extern |char *st|
|00005f80| 72 65 72 72 6f 72 28 69 | 6e 74 20 65 72 72 6e 75 |rerror(i|nt errnu|
|00005f90| 6d 29 3b 0a 65 78 74 65 | 72 6e 20 69 6e 74 20 66 |m);.exte|rn int f|
|00005fa0| 66 6c 75 73 68 28 46 49 | 4c 45 20 2a 73 74 72 65 |flush(FI|LE *stre|
|00005fb0| 61 6d 29 3b 0a 65 78 74 | 65 72 6e 20 76 6f 69 64 |am);.ext|ern void|
|00005fc0| 20 65 78 69 74 28 69 6e | 74 20 73 74 61 74 75 73 | exit(in|t status|
|00005fd0| 29 3b 0a 65 78 74 65 72 | 6e 20 69 6e 74 20 66 73 |);.exter|n int fs|
|00005fe0| 63 61 6e 66 28 46 49 4c | 45 20 2a 73 74 72 65 61 |canf(FIL|E *strea|
|00005ff0| 6d 2c 20 63 6f 6e 73 74 | 20 63 68 61 72 20 2a 66 |m, const| char *f|
|00006000| 6f 72 6d 61 74 2c 20 2e | 2e 2e 29 3b 0a 65 78 74 |ormat, .|..);.ext|
|00006010| 65 72 6e 20 69 6e 74 20 | 73 73 63 61 6e 66 28 63 |ern int |sscanf(c|
|00006020| 68 61 72 20 2a 73 2c 20 | 63 6f 6e 73 74 20 63 68 |har *s, |const ch|
|00006030| 61 72 20 2a 66 6f 72 6d | 61 74 2c 20 2e 2e 2e 29 |ar *form|at, ...)|
|00006040| 3b 0a 23 65 6e 64 69 66 | 20 2f 2a 20 5f 5f 53 54 |;.#endif| /* __ST|
|00006050| 52 49 43 54 5f 42 53 44 | 5f 5f 20 2a 2f 0a 58 0a |RICT_BSD|__ */.X.|
|00006060| 2f 2a 20 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |/* -----|--------|
|00006070| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00006080| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00006090| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000060a0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2a 2f 0a |--------|-----*/.|
|000060b0| 2f 2a 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |/* | |
|000060c0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 4d | | M|
|000060d0| 61 69 6e 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |ain | |
|000060e0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000060f0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 2a 2f 0a | | */.|
|00006100| 2f 2a 20 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |/* -----|--------|
|00006110| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00006120| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00006130| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00006140| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2a 2f 0a |--------|-----*/.|
|00006150| 58 0a 69 6e 74 20 6d 61 | 69 6e 28 69 6e 74 20 61 |X.int ma|in(int a|
|00006160| 72 67 63 2c 20 63 68 61 | 72 20 2a 61 72 67 76 5b |rgc, cha|r *argv[|
|00006170| 5d 29 0a 7b 0a 58 0a 58 | 20 73 74 72 75 63 74 20 |]).{.X.X| struct |
|00006180| 43 6f 6d 6d 6f 6e 5f 53 | 74 6f 72 20 2a 73 43 6f |Common_S|tor *sCo|
|00006190| 6d 5f 53 74 6f 3b 0a 58 | 20 69 6e 74 20 4d 61 78 |m_Sto;.X| int Max|
|000061a0| 72 63 20 3d 20 4f 4b 3b | 20 20 20 20 20 20 20 20 |rc = OK;| |
|000061b0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000061c0| 20 20 2f 2a 20 4d 61 78 | 20 65 72 72 2d 63 6f 64 | /* Max| err-cod|
|000061d0| 65 20 65 6e 63 6f 75 6e | 74 65 72 65 64 20 73 6f |e encoun|tered so|
|000061e0| 20 66 61 72 20 2a 2f 0a | 58 20 69 6e 74 20 6b 20 | far */.|X int k |
|000061f0| 3d 20 30 3b 0a 58 0a 58 | 20 69 66 20 28 20 4e 55 |= 0;.X.X| if ( NU|
|00006200| 4c 4c 20 3d 3d 20 28 73 | 43 6f 6d 5f 53 74 6f 20 |LL == (s|Com_Sto |
|00006210| 3d 20 6d 61 6c 6c 6f 63 | 28 73 69 7a 65 6f 66 28 |= malloc|(sizeof(|
|00006220| 73 74 72 75 63 74 20 43 | 6f 6d 6d 6f 6e 5f 53 74 |struct C|ommon_St|
|00006230| 6f 72 29 29 29 20 29 20 | 7b 0a 58 20 20 20 20 20 |or))) ) |{.X |
|00006240| 20 66 70 72 69 6e 74 66 | 28 73 74 64 65 72 72 2c | fprintf|(stderr,|
|00006250| 22 25 73 3a 20 28 43 29 | 20 6d 61 6c 6c 6f 63 20 |"%s: (C)| malloc |
|00006260| 66 61 69 6c 65 64 20 28 | 25 73 29 2e 20 52 65 61 |failed (|%s). Rea|
|00006270| 73 6f 6e 3a 20 25 69 20 | 28 25 73 29 5c 6e 22 2c |son: %i |(%s)\n",|
|00006280| 0a 58 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |.X | |
|00006290| 20 20 20 20 20 20 20 41 | 55 54 4f 5f 44 49 52 2c | A|UTO_DIR,|
|000062a0| 22 43 6f 6d 6d 6f 6e 5f | 53 74 6f 72 22 2c 65 72 |"Common_|Stor",er|
|000062b0| 72 6e 6f 2c 73 74 72 65 | 72 72 6f 72 28 65 72 72 |rno,stre|rror(err|
|000062c0| 6e 6f 29 29 3b 0a 58 20 | 20 20 20 20 20 65 78 69 |no));.X | exi|
|000062d0| 74 20 28 43 41 54 29 3b | 0a 58 20 20 20 20 20 7d |t (CAT);|.X }|
|000062e0| 0a 58 0a 58 20 4d 61 78 | 72 63 20 3d 20 48 6f 75 |.X.X Max|rc = Hou|
|000062f0| 73 65 6b 65 65 70 69 6e | 67 28 61 72 67 63 2c 20 |sekeepin|g(argc, |
|00006300| 61 72 67 76 2c 20 73 43 | 6f 6d 5f 53 74 6f 29 3b |argv, sC|om_Sto);|
|00006310| 0a 58 0a 2f 2a 20 49 66 | 20 61 6e 79 20 65 72 72 |.X./* If| any err|
|00006320| 6f 72 73 20 70 6f 70 70 | 65 64 20 75 70 20 73 6f |ors popp|ed up so|
|00006330| 20 66 61 72 20 74 68 65 | 79 20 61 72 65 20 6f 66 | far the|y are of|
|00006340| 20 73 75 63 68 20 61 20 | 6e 61 74 75 72 65 20 74 | such a |nature t|
|00006350| 68 61 74 20 69 74 20 69 | 73 20 76 65 72 79 0a 58 |hat it i|s very.X|
|00006360| 20 2a 20 71 75 65 73 74 | 69 6f 6e 61 62 6c 65 20 | * quest|ionable |
|00006370| 74 6f 20 63 6f 6e 74 69 | 6e 75 65 3b 20 73 6f 20 |to conti|nue; so |
|00006380| 77 65 20 62 65 74 74 65 | 72 20 62 61 69 6c 20 6f |we bette|r bail o|
|00006390| 75 74 20 69 6e 20 74 68 | 69 73 20 63 61 73 65 2e |ut in th|is case.|
|000063a0| 20 0a 58 20 2a 2f 0a 58 | 20 20 69 66 20 28 4d 61 | .X */.X| if (Ma|
|000063b0| 78 72 63 20 3c 3d 20 57 | 41 52 4e 49 4e 47 29 20 |xrc <= W|ARNING) |
|000063c0| 7b 0a 58 20 20 20 20 20 | 69 66 20 28 28 73 43 6f |{.X |if ((sCo|
|000063d0| 6d 5f 53 74 6f 2d 3e 57 | 5f 53 74 61 74 20 3d 20 |m_Sto->W|_Stat = |
|000063e0| 28 75 6e 69 6f 6e 20 77 | 61 69 74 20 2a 29 73 74 |(union w|ait *)st|
|000063f0| 6f 72 61 67 65 20 28 73 | 69 7a 65 6f 66 28 75 6e |orage (s|izeof(un|
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.